Delete Content Object
DELETE/api/content/:contentType/:key
Delete a content object.
You can find more information about content management here.
Note: You have to specify the content type. For articles it is
articles.
Locale
A locale can be specified for this request. The email will be sent in the specified locale. You can learn more about locale in emails here.
If no locale is specified, the applications default locale will be used. You can learn more about configuring the default locale here.
Tokens
- A valid
AccessTokenwithMAINTAINERaccess on this content object is required.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Success.
The following error codes correspond to this status:
ACCESS_TOKEN_EXPIRED: Indicates that the access token is expired.ACCESS_TOKEN_INVALID: Indicates that the access token cannot be decoded.AUTHENTICATION_REQUIRED: User is not authenticated.
The following error codes correspond to this status:
NOT_AUTHORIZED: Action not authorized.
The following error codes correspond to this status:
CONTENT_TYPE_NOT_FOUND: Content type not found.CONTENT_NOT_FOUND: Content not found.
The following error codes correspond to this status:
ACCESS_TOKEN_ALLOWLIST_READING_FAILURE: Represents an exception indicating a failure when reading the allowlist for an access token cache.DATABASE_FAILURE: Exception representing a general failure related to database operations.