Remove a user from the specified merchant
POST
/2024-09/users/merchant-memberships/remove
curl \
--request POST 'https://app.merchanthq.com/api/2024-09/users/merchant-memberships/remove' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"merchant_id":"1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4","user_id":"1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4"}'
Request examples
{
"merchant_id": "1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4",
"user_id": "1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4"
}
Response examples (401)
{
"message": "Unauthorized"
}
Response examples (404)
{
"message": "Not found"
}