If the parent account is PAID, do nothing and return locked = false. If parent account is FREE, disassociate the user and return locked = true.

Examples

REQUEST
Authorization: Bearer <service jwt>
Content-Type: application/json
{
  "partner_account_id": "12345",
  "user_id": "1"
}
RESPONSE
200 (OK)
{
  "locked": true
}

Params

Param name Description
partner_account_id
required

partner account id

Validations:

  • Must be one of: String, Integer.

user_id
required

ID of user to be disassociated

Validations:

  • Parameter has to be Integer.