Table of Contents

API : Employee Subscription Delete

Introduction

This request will delete the specified employee subscription. All employees subscribed to it are unsubscribed as part of the deletion.

Request

URL https://api.telecomx.dk/employeeSubscription/SUBSCRIPTION_ID
Method DELETE
Access level MANAGER or OWNER if the user belongs to the reseller that owns the subscription.
RESELLER if the subscription belongs to the reseller or a sub reseller.
RESELLER_ADMIN or ADMIN (required for common subscriptions).
Param SUBSCRIPTION_ID Id of the employee subscription (24 hex-char string)

Query example

DELETE https://api.telecomx.dk/employeeSubscription/650000000000000000000001

Response

Json object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
422 id Subscription id is not valid
404 employeeSubscription Employee subscription not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>