Synq Docs
Management APIOrgs

Hand the org over

The owner makes another member the owner, and becomes an admin. Needs `org.ownership.transfer`, which only the owner has, as a person who signed in within the last 5 minutes (`max_age=300`). It refuses a member who owns as many orgs as one person may (`recipient_org_quota_exceeded`). Recorded as `org.ownership_transferred`.

POST/v1/orgs/{org}/transfer-ownership

The owner makes another member the owner, and becomes an admin. Needs org.ownership.transfer, which only the owner has, as a person who signed in within the last 5 minutes (max_age=300). It refuses a member who owns as many orgs as one person may (recipient_org_quota_exceeded). Recorded as org.ownership_transferred.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/orgs/string/transfer-ownership" \  -H "Content-Type: application/json" \  -d '{    "user_id": "string"  }'
Empty