Misc
Misc
Remove organization member
Revokes membership immediately. Owner-only for removing Admins; sole owner blocked.
Technical details
Exact HTTP method and path your client calls
post
/api/v1/organization/members/removeRequest body
| Field | Type | Description |
|---|---|---|
| targetAccountIdrequired | string |
Responses
Member removed
| Field | Type | Description |
|---|---|---|
| okrequired | boolean |
Example
{
"ok": false
}Errors return the standard envelope. See error reference.
Code samples
curl --request POST \
--url 'https://api.not24get.me/api/v1/organization/members/remove' \
--header 'Authorization: Bearer <your-api-key>' \
--header 'Content-Type: application/json' \
--header 'X-Workspace-ID: <workspace-id>' \
--data '{
"targetAccountId": "string"
}'Try it
Request body (JSON)
Transfer tenant ownership
Promotes the target member to admin/owner and demotes the actor after TOTP/backup step-up.
Technical details
Exact HTTP method and path your client calls
post
/api/v1/organization/transfer-ownershipRequest body
| Field | Type | Description |
|---|---|---|
| toAccountIdrequired | string | |
| stepUpCoderequired | string |
Responses
Ownership transferred
| Field | Type | Description |
|---|---|---|
| okrequired | boolean |
Example
{
"ok": false
}Errors return the standard envelope. See error reference.
Code samples
curl --request POST \
--url 'https://api.not24get.me/api/v1/organization/transfer-ownership' \
--header 'Authorization: Bearer <your-api-key>' \
--header 'Content-Type: application/json' \
--header 'X-Workspace-ID: <workspace-id>' \
--data '{
"toAccountId": "string",
"stepUpCode": "string"
}'Try it
Request body (JSON)