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
- Base URLhttps://developers.brandtrack.ai/api.brandtrack.fm
- AuthAPI key in header x-customer-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-customer-api-keystring
Request body
Response
Success
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.