Organization Modules
2 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List organization-level module toggles#
GET
/organization-modulesTokenAntworten
- 200Organization module toggle rows.
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/organization-modules" \
-H "Authorization: Bearer $XISUITE_TOKEN"Enable or disable an organization-level module#
PATCH
/organization-modules/{moduleType}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
moduleTypePflicht | Pfad | string | Werte: |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
is_enabledPflicht | boolean | Whether the organization module is enabled |
Antworten
- 200Module toggle updated.
- 400Unknown module type or invalid payload.
- 403Only organization admins or owners can update modules.
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/organization-modules/{moduleType}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"is_enabled":true}'