Remove bind client
Removes a relationship between a user and a client/customer account. This endpoint disassociates a user from a specific customer, revoking their access and permissions for that client account.
Endpoint
DELETE/v2/user/{uuid}/relate-client/{relation.cuid}
Link
Request
Authentication
An API key is required for authentication. Include it in the Authorization header.
Header:
AuthorizationValue: Your API key token
HTTP Method & URL
Method:
DELETEURL:
https://stagep.tst-apidmndelss.com/v2/user/{uuid}/relate-client/{relation.cuid}
Path Parameters
uuid
string
Unique identifier of the user.
Yes
user_abc123def
relation.cuid
string
Customer/client identifier to remove.
Yes
cust_789xyz
Query Parameters
relation.isOwner
boolean
Specify ownership type for precise removal.
No
true
Headers
Authorization
Bearer <JWT>
Yes
Accept
application/json
Yes
Response (200 OK)
Returns the updated user object confirming the client relationship was successfully removed.
Response Fields
User Object (item)
uuid
string
Unique user identifier.
user_abc123def
username
string
User's login name.
john.smith
status
string
Current user status.
ACCEPT
is2fa
boolean
2FA enabled status.
true
createAt
string
Account creation timestamp.
2024-01-15T10:30:00Z
updateAt
string
Last update timestamp.
2024-03-20T14:22:00Z
name
string
User's full name.
John Smith
comment
string
Administrative comments.
VIP customer
Example Response:
Note: The response shows basic user details. To verify the client relationship was successfully removed, use the Get User endpoint which will show the updated
clientsarray.
Examples
Remove Client Relationship (cURL)
Remove Specific Ownership Type
Error Responses
User Not Found:
Customer Not Found:
Relationship Not Found:
Unauthorized:
Ownership Mismatch:
Notes
Query Parameter Usage
relation.isOwner: Optional parameter to specify which ownership type to removeIf omitted, removes all relationships between the user and customer
If specified, only removes relationships matching the ownership type
Behavior
Removes the specified client relationship completely
User loses all access and permissions for that customer account
Operation is irreversible - relationship must be recreated if needed
Best Practices
Verify the relationship exists before attempting removal
Use Get User endpoint to confirm successful removal
Consider user impact before removing client access
Document removal reasons in user comments if needed
Common Use Cases:
Offboarding users from customer accounts
Revoking administrative privileges
Cleaning up temporary access grants
Removing users from deprecated client accounts
Verification: After removing a client relationship, use the Get User endpoint to confirm:
Check that the removed customer no longer appears in the clients array.
Security Considerations:
Removing owner relationships may affect account management
Ensure alternative administrators exist before removing owners
Consider user notifications for access revocation
Audit trail should record relationship removals
Real request sample
Real response sample
Last updated

