API ReferenceOrganisation Management
Update organisation status (Admin only)
Update the status of an organisation. Admin access required.
PUT
/v1/organisation-management/{id}/statusAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Organisation ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/organisation-management/string/status" \ -H "Content-Type: application/json" \ -d '{ "status": "ACTIVE" }'{ "success": true, "statusCode": 200, "message": "Request processed successfully", "timestamp": "2025-10-20T16:30:00.000Z", "path": "/v1/auth/register", "data": { "id": "org_cjld2cjxh0000qzrmn831i7rn", "status": "ACTIVE", "message": "Organisation status updated successfully" }}Delete organisation (Admin only)
Delete an organisation and all related data. Admin access required.
🆕 Update organisation access levels (Admin only)
Update service-specific access levels for an organisation using the new multi-service OrganisationServiceAccess model. The legacy `accessLevelId` field is still accepted for backward compatibility but is deprecated — prefer `serviceAccesses`.