Revoke Connected Member
Description
This endpoint is used to disconnect a merchant or business from their ERP system, revoking their integration and access.
POST {BaseURL}/api/v1/auth/revoke
Content-Type: application/json
Authorization: Basic base64encode({clientId:clientSecret})
{
"endpoint_id": "{endpoint_id}"
}
Method
POST
Headers
- Content-Type:
application/json
- Authorization:
Basic base64encode({clientId:clientSecret})
- The
clientId:clientSecret
should be base64 encoded.
- The
Request Parameters
Parameter | Description | Required |
---|---|---|
endpoint_id | endpoint_id of business to revoke | Yes |
Success Response
http status code: 200
Key | Definition |
---|---|
message | The message after revoke |
Error Response
http status code: 403
Key | Definition |
---|---|
message | error message |