Delete a subscription
DELETE /api/v1/erp/subscriptions/{id}
deletes the subscription identified in the {id
} parameter.
Request schema
Method | URL |
---|---|
DELETE | /api/v1/erp/subscriptions/{id} |
Request header
*indicates required fields
Field | Value type | Description of values |
---|---|---|
*Authorization |
String | Enter: Bearer access token. |
*id |
Integer | The ID of the subscription you want to delete. |
*Upc-Selected-Company |
Integer | Company’s ID. Use the value returned in the id field received in response to the following request: GET /api/auth/v1/companies . |
X-User-Id |
Text | Enter the email address of the user being impersonated. This value is required if you are using a two-legged token. If you are using a three-legged token, then this field is not required. |
Response schema
An empty 204-http response code is returned for the successfully deleted subscription.