Delete entity
Delete an entity associated with the specified entityId
.
Deleting an entity will reset all resources that were linked to that entity to application = default and entity = null. You should ensure that any configuration (like resource associations, inbound message configurations, subscriptions, bots, API Keys etc) related to given entity are appropriately reassigned to other entities before attempting to delete the entity.
Authorizations:
Scopes:
Request rate limit:
path Parameters
entityId required | string <= 255 characters Example: test-entity The unique identifier of the entity. This ID will be a URL path parameter. We recommend using values that do not need URL encoding for easier interaction with other API endpoints. |
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
curl -L -g -X DELETE 'https://{baseUrl}/provisioning/1/entities/test-entity' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 400
- 401
- 403
- 404
- 429
- 500
{- "requestError": {
- "serviceException": {
- "messageId": "BAD_REQUEST",
- "text": "Bad request"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See