Organization
Update organization
Changed onPartially updates the authenticated organization. Only provided fields will be updated.
patch/v1/organization
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Request body
Example request
{
"name": "New Acme Corporation",
"slug": "new-acme-corp",
"logo": "https://example.com/logo.png",
"metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
"website": "https://acme-corp.com",
"onboardingCompleted": true,
"fleetDmLabelId": 123,
"primaryColor": "#3B82F6",
"backgroundCheckStepEnabled": true,
"deviceAgentStepEnabled": true,
"securityTrainingStepEnabled": true,
"whistleblowerReportEnabled": true,
"accessRequestFormEnabled": true
}Response
Organization updated successfully
Example response
{
"id": "org_abc123def456",
"name": "New Acme Corporation",
"slug": "new-acme-corp",
"logo": "https://example.com/logo.png",
"metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
"website": "https://acme-corp.com",
"onboardingCompleted": true,
"hasAccess": true,
"fleetDmLabelId": 123,
"primaryColor": "#3B82F6"
}Changes
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- warning
- info
the endpoint scheme security
oauth2was removed from the API
- info