POST
/
accounts
/
unlink
curl --request POST \
  --url https://development.knotapi.com/accounts/unlink \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "external_user_id": "abc123",
  "merchant_id": 12
}'
{
  "message": "Success"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The input parameters required for unlinking a merchant account.
external_user_id
string
required

Unique identifier for the user.

Example:

"abc123"

merchant_id
integer
required

Unique identifier for the merchant.

Example:

12

Response

200
application/json
Successful request.
message
string

Success message.

Example:

"Success"