Skip to content

Update member status

Request

Update the status of the specified member. This should be called from the backend, using an admin access token (generated by a management app).

Required permissions: organizations:edit, orgs:edit.

Security
AdminAccessToken
Path
organization_idstringrequired

ID of the organization

user_idstringrequired

ID of the user

app_idstringrequired

ID of the application

Headers
user-agentstringrequired
Bodyapplication/jsonrequired
suspendedbooleanrequired

Whether the member is suspended

curl -i -X PUT \
  'https://api.sbx.transmitsecurity.io/cis/v1/applications/{app_id}/organizations/{organization_id}/members/{user_id}/status' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'user-agent: string' \
  -d '{
    "suspended": true
  }'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "email": { … }, "secondary_emails": [ … ], "phone_number": { … }, "secondary_phone_numbers": [ … ], "username": "string", "user_id": "string", "birthday": "2019-08-24T14:15:22Z", "address": { … }, "name": { … }, "status": "Active", "status_changed_at": "2019-08-24T14:15:22Z", "created_at": 0, "updated_at": 0, "identity_providers": [ … ], "identities": [ … ], "last_auth": "2019-08-24T14:15:22Z", "external_account_id": "string", "app_name": "string", "custom_app_data": {}, "groupIds": [ … ], "picture": "string", "language": "string", "custom_data": {}, "external_user_id": "string", "password_information": { … }, "custom_user_fields": {}, "organization_information": { … }, "roles": [ … ] } }