Authentication
All company management endpoints require authentication:Update Company
Company’s unique identifier (UUID)
Request Body
All fields are optional. Only provide the fields you want to update.Company name (min: 2, max: 255 characters)
URL-friendly company identifier (min: 2, max: 80 characters). Must contain only lowercase letters, numbers, and hyphens. Must be unique.
URL to company logo image (max: 500 characters). Must be a valid URL. Set to null to remove.
Company description (max: 5000 characters). Set to null to remove.
Additional company metadata as key-value pairs (JSON object). This replaces the entire metadata object.
Company status. Options:
ACTIVE, SUSPENDEDResponse
Indicates if the request was successful
Updated company object
Only platform admins or users with appropriate company permissions can update company details.
Suspend Company
To suspend a company, update its status toSUSPENDED:
Delete Company (Soft Delete)
Company’s unique identifier (UUID)
Response
Indicates if the request was successful
Confirmation message
This performs a soft delete by setting the
deletedAt timestamp. The company data is retained in the database but is hidden from normal queries. Use the restore endpoint to undo this operation.Restore Deleted Company
Company’s unique identifier (UUID)
Response
Indicates if the request was successful
Restored company object
Restoring a company removes the
deletedAt timestamp, making the company visible in normal queries again.Company Status Values
Thestatus field can have one of the following values:
ACTIVE
Company is active and operational. Members can access all resources.
SUSPENDED
Company access is temporarily suspended. Members cannot access company resources.
Error Responses
Company Not Found (404 Not Found)
Slug Already Exists (409 Conflict)
Validation Error (400 Bad Request)
Permission Denied (403 Forbidden)
Member Management
Company member management endpoints allow you to view, invite, and manage members within a company.Get Company Members
cURL
Company’s unique identifier (UUID)
Get Non-Members
cURL
Update Member Roles
cURL
Company’s unique identifier (UUID)
Membership’s unique identifier (UUID)
Array of role UUIDs to assign to the member
Remove Member
cURL
Role Management
Company role management endpoints allow you to create and manage custom roles within a company.Get Company Roles
cURL
Create Custom Role
cURL
Role name (unique within company)
Role description
Hex color code (e.g., “#6366F1”)
Array of permission UUIDs to assign to this role
Update Role
cURL
Delete Role
cURL
For detailed member invitation workflows, see the Invitations API.