Storage Config
6 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
Get org storage quota config (owner/admin only)#
GET
/storage-configTokenAntworten
- 200Org storage config returned
- 403Owner or admin role required
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/storage-config" \
-H "Authorization: Bearer $XISUITE_TOKEN"Update org default per-user quota (on-prem only)#
PATCH
/storage-configTokenRequest-Body
Keine Felder dokumentiert.
Antworten
- 200Org config updated
- 403Owner/admin role required or SaaS mode
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/storage-config" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Get my storage quota and usage#
GET
/storage-config/my-quotaTokenAntworten
- 200Effective quota returned
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/storage-config/my-quota" \
-H "Authorization: Bearer $XISUITE_TOKEN"List user storage quota overrides (owner/admin only)#
GET
/storage-config/user-overridesTokenAntworten
- 200User overrides returned
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/storage-config/user-overrides" \
-H "Authorization: Bearer $XISUITE_TOKEN"Set per-user storage quota override (owner/admin only)#
PUT
/storage-config/user-overrides/{userId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
userIdPflicht | Pfad | string | – |
Request-Body
Keine Felder dokumentiert.
Antworten
- 200Override set
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/storage-config/user-overrides/{userId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Remove per-user storage quota override (owner/admin only)#
DELETE
/storage-config/user-overrides/{userId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
userIdPflicht | Pfad | string | – |
Antworten
- 200Override removed
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/storage-config/user-overrides/{userId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"