Leave the current organization. Sole owners must transfer ownership first; throws OwnershipTransferRequired otherwise.
Leave the current organization. Sole owners must transfer ownership first; throws OwnershipTransferRequired otherwise — Competitor Tracker & Co. API reference.
Required role: member or higher (organization-level).
Required scope: account: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/leave" \ -H "Content-Type: application/json" \ -d '{}'{
"ok": true
}{
"code": "string",
"message": "string",
"resolution": "string"
}Take on the companies an agent picked, into the organization you already have. POST
Adds the companies to your current organization under the ordinary rules, so your coins are spent exactly as they would be had you added each company yourself. Name any of them in `decline` to leave it out. The link is single-use and is spent here rather than on the preview. Every company comes back with its own outcome, so a balance that runs out part-way through is reported rather than rolled back: what fitted is on file and the rest is named. The organization the agent created is removed once the companies have moved across.
Transfer ownership of the current organization. Instant: the current owner becomes admin, the target becomes owner. POST
Transfer ownership of the current organization. Instant: the current owner becomes admin, the target becomes owner — Competitor Tracker & Co. API reference for.