Organization API
Your organization's details. All requests need a secret key; see REST API for keys, errors and limits.
Delete the caller's active organization
DELETE /v1/organization
Delete the caller's active organization (owner): keys stop working, sessions in it end
curl -X DELETE https://api.loomieo.com/v1/organization \ -H "Authorization: Bearer $LUMIEO_KEY"Response 200
| Name | Type | Description |
|---|---|---|
organizationrequired | object |
Errors
401:auth_unauthenticated403:auth_csrf_rejected,forbidden,out_of_scope404:organization_not_found422:validation_failed429:rate_limited
The caller's active organization
GET /v1/organization
curl -X GET https://api.loomieo.com/v1/organization \ -H "Authorization: Bearer $LUMIEO_KEY"Response 200
| Name | Type | Description |
|---|---|---|
organizationrequired | object |
Errors
401:auth_unauthenticated403:forbidden404:organization_not_found422:validation_failed429:rate_limited
Rename the caller's active organization
PATCH /v1/organization
Rename the caller's active organization (owner)
Body
| Name | Type | Description |
|---|---|---|
namerequired | string | 1 to 120 characters |
curl -X PATCH https://api.loomieo.com/v1/organization \ -H "Authorization: Bearer $LUMIEO_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"…"}'Response 200
| Name | Type | Description |
|---|---|---|
organizationrequired | object |
Errors
400:bad_request401:auth_unauthenticated403:auth_csrf_rejected,forbidden,out_of_scope404:organization_not_found422:validation_failed429:rate_limited