Headless LMS

Update the active organization

PATCH
/api/organizations

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/api/organizations" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "slug": "string"  }'
{  "id": "string",  "name": "string",  "slug": "string",  "createdAt": "string"}
{  "error": "string",  "message": "string"}