Makes another member the owner of the organisation.
HTTP
POST /org/transferAccess: Session token only. API keys get 403 with insufficient_scope.
Role: Organisation owner.
Request body #
JSON.
| Field | Type | Required | Description |
|---|---|---|---|
userId | string | yes | The id of a member of the organisation other than you. |
JSON
{ "userId": "0197a3c2-5b1e-7c4a-9d2f-3e8b6a1f0c55" }Response 200 #
The members of the organisation, as in List members.
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 403 | forbidden | You are not the owner. |
| 422 | invalid_request | userId is you or not a member (invalid). |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.