If the parent account is PAID, do nothing and return locked = false. If parent account is FREE, disassociate the user and return locked = true.
REQUEST Authorization: Bearer <service jwt> Content-Type: application/json { "partner_account_id": "12345", "user_id": "1" } RESPONSE 200 (OK) { "locked": true }
Param name | Description |
---|---|
partner_account_id required |
partner account id Validations:
|
user_id required |
ID of user to be disassociated Validations:
|