Delete a custom privacy tier
DELETE /api/v1/privacy/tiers/custom/{id}
Deletes a custom tier belonging to the authenticated user.
Authenticate with a portal session token.
Parameters
idinteger path required
Responses
200 Deletion result.
application/json PrivacyDeleteTier
deletedboolean requiredidinteger required
Generated sample
{
"deleted": true,
"id": 0
}401 Authentication is required.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
403 The authenticated principal lacks the required permission.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
404 Tier not found.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
429 The request rate limit was exceeded.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
text/html string