Transfer ownership
Transfers organization ownership to another member. The current owner becomes an admin.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Path Parameters
orgId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/transfer-ownership" \ -H "Content-Type: application/json" \ -d '{ "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43" }'{
"success": true
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Update member role
Updates a member's role. Cannot change the owner's role (use transfer-ownership). Requires owner or admin role.
Delete all test data
Deletes all test event types, availability rules, and bookings for the authenticated organization. Only works with test API keys (ac_test_*). Returns 400 if called with a live key.