Delete Invitation
DELETE/api/content/invitations/:id
Delete and invalidate an existing invitation.
You can find more information about invitations and content here.
Note: Expired invitations will be deleted automatically.
Tokens
- A valid
AccessTokenwithMAINTAINERaccess on this 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.INVITATION_NOT_FOUND: Invitation 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.INVALID_INVITATION_DOCUMENT: Indicates that the principal document associated with the invitation token is invalid.POST_COMMIT_SIDE_EFFECT_FAILURE: Exception representing a failure to perform a side effect after a successful database operation.