Delete User Account by ID
DELETE/v1/users/accounts/:id
Delete an user account. User account must have no operations registered. If not, it will be performed a soft delete.
Request
Path Parameters
User account ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 403
- 422
User account deleted.
- application/json
- Schema
- Example (from schema)
Schema
User account ID.
Possible values: [pending
, active
, expired
, deactivated
]
User state.
User created date.
User updated date.
User deleted date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"state": "deactivated",
"created_at": "2025-04-25T20:46:12.600Z",
"updated_at": "2025-04-25T20:46:12.600Z",
"deleted_at": "2025-04-25T20:46:12.600Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the authenticated user does not have permission.
If any required params are missing or has invalid format or type.