API reference · Access Control & Users v1
PUT/api/v1/users/bulk/deactivate

Bulk deactivate users (route currently mapped to update-by-id)

Route currently delegates to ApiUserController.update(); id extraction reads "bulk" from path and fails UUID validation.

RBAC · user

Request body

Content type: application/json · schema AccessUpdateUserBodyV1

usernamestring
min length 3
emailstring <email>
first_namestring
last_namestring
phonestring
timezonestring
user_typestring
Enum: internalclientadmincontractor
contact_idstring <uuid>
two_factor_enabledboolean
is_google_userboolean
is_inactiveboolean
role_idsarray of string
itemsstring <uuid>

Response body

Success response 200 · schema AccessApiSuccessV1

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Operation succeeded.
400
Current route fails UUID extraction because ApiBaseController.update() treats path segment "bulk" as {id}.
401
API key missing/invalid or key user not found.
403
RBAC denied for user:update.
500
Unexpected controller/service failure.