Authorization: Bearer ********************curl --location --request PATCH 'admins/16418d57-bc7e-4606-916b-f9052a8f906c' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string",
"minLength": 8
},
"role": {
"type": "string",
"examples": [
"ADMIN",
", BUILDER"
],
"default": "BUILDER"
},
"active": {
"type": "boolean",
"default": true
}
},
"x-apidog-orders": [
"email",
"name",
"password",
"role",
"active"
],
"required": [
"email",
"role",
"password",
"active"
]
}'{
"message": "User updated successfully",
"user": {
"id": "fb8e2a8a-7995-4954-a923-27d879389829",
"email": "Duncan26@yahoo.com",
"name": "Ramon Baumbach",
"role": "ADMIN",
"active": true,
"updatedAt": "2026-02-03T14:06:00.906Z"
}
}