Competitor Tracker & Co. Docs

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).

POST
/v1/org/transfer-ownership

Authorization

X-API-Key<token>

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"
}