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:clientSecretshould 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 |
** System partner can listen to webhook event ** ENTITY.REVOKED for revoked from E-invoice system.import from 'nextra-theme-docs' import React from 'react'