Skip to main content
PATCH
/
organizations
/
current
/
users
/
{userId}
/
status
Update user membership status
curl --request PATCH \
  --url https://app.azalt.co/api/v1/organizations/current/users/{userId}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "ACTIVE"
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

Body

application/json
status
enum<string>
required
Available options:
ACTIVE,
INACTIVE

Response

Successful response

success
boolean
required
message
string
required