Users

Handle user suspension status

By providing the bool value, you can set or unset the suspension status for a user.

post/v2/users/{id}/suspension

Request

Headers

x-customer-api-keystring

Request body

suspendedboolean required

Response

Success

idinteger
uuidstring
emailstring
firstnamestring
lastnamestring
phone_numberstring
countrystring
rolestring
business_category_idinteger
suspendedboolean
created_atstring

Example response

{
  "id": 18782,
  "uuid": "e66f37fd-ac0a-4cb6-adba-33196a5c6f3e",
  "email": "john.doe@brandtrack.fm",
  "firstname": "John",
  "lastname": "Doe",
  "phone_number": "+9332312323",
  "country": "BE",
  "role": "owner",
  "business_category_id": 62,
  "flags": [],
  "suspended": false,
  "created_at": "2024-07-09T13:34:16+00:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.