User APIs
users
Update User Block Role
Set or clear the additive Block role (block_user / block_admin) on a user. block_role = null unsets it. The enum type on the DB column rejects any value outside the two valid enum members, so no extra application-level validation is needed.
put/api/v1/users/{user_id}/block-role
Request
- Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
- URL: https://carbonarc.ai/api/v1/users/{user_id}/block-role
- Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)
Path parameters
user_idstring uuid required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 4 revisions of this API.