Transfer ownership of the current organization. Instant: the current owner becomes admin, the target becomes owner.
Transfer ownership of the current organization. Instant: the current owner becomes admin, the target becomes owner — Competitor Tracker & Co. API reference for.
Required role: owner or higher (organization-level).
Required scope: org:write (for both OAuth2 tokens and API keys).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.competitortracker.io/v1/org/transfer-ownership" \ -H "Content-Type: application/json" \ -d '{ "to_user_id": "string" }'{
"ok": true,
"previous_owner_id": "string",
"new_owner_id": "string"
}{
"code": "string",
"message": "string",
"resolution": "string"
}Leave the current organization. Sole owners must transfer ownership first; throws OwnershipTransferRequired otherwise. POST
Leave the current organization. Sole owners must transfer ownership first; throws OwnershipTransferRequired otherwise — Competitor Tracker & Co. API reference.
Read the current organization, including the application domain it has claimed (null until one is set). GET
Read the current organization, including the application domain it has claimed (null until one is set) — Competitor Tracker & Co. API reference for GET /v1/org.