Organizations Resource
Description
Organizations represent customer accounts on the platform. Each organization contains configuration for platform integration, including API keys, domain, and webhook URL.
Example
Organization:
{
"createdAt": number,
"updatedAt": number,
"domain": "org-example.com",
"webhook": "https://org-example.com/xapi",
"schemaVersion": 1
}Create Organization - (!Project-Betta Platform Admin or Self-Serve!)
POST /organizations
Example Request:
Example Response (201 Created):
Get All Organizations - (!Project-Betta Platform Admin!)
GET /organizations
Example Response (200 OK):
Get Organization by ID
GET /organizations/{organization_id}
Example Response (200 OK):
Update Organization - (!Project-Betta Platform Admin!)
PATCH /organizations/{organization_id}
Example Request:
Example Response (200 OK):
Delete Organization - (!Project-Betta Platform Admin!)
DELETE /organizations/{organization_id}
Example Response (200 OK):
Last updated