curl -X DELETE \
'https://api.appcharge.com/v1/portal-content/507f1f77bcf86cd799439011' \
-H 'x-publisher-token: <x-publisher-token>'
{}
{
"message": "BAD_REQUEST",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Invalid content ID or deletion error."
}
{
"message": "UNAUTHORIZED",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Invalid or missing publisher token."
}
{
"message": "NOT_FOUND",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Content not found."
}
{
"message": "INTERNAL_SERVER_ERROR",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Server error."
}
Content
Delete Content
Deletes a content item.
DELETE
/
v1
/
portal-content
/
{contentId}
curl -X DELETE \
'https://api.appcharge.com/v1/portal-content/507f1f77bcf86cd799439011' \
-H 'x-publisher-token: <x-publisher-token>'
{}
{
"message": "BAD_REQUEST",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Invalid content ID or deletion error."
}
{
"message": "UNAUTHORIZED",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Invalid or missing publisher token."
}
{
"message": "NOT_FOUND",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Content not found."
}
{
"message": "INTERNAL_SERVER_ERROR",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Server error."
}
curl -X DELETE \
'https://api.appcharge.com/v1/portal-content/507f1f77bcf86cd799439011' \
-H 'x-publisher-token: <x-publisher-token>'
{}
{
"message": "BAD_REQUEST",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Invalid content ID or deletion error."
}
{
"message": "UNAUTHORIZED",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Invalid or missing publisher token."
}
{
"message": "NOT_FOUND",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Content not found."
}
{
"message": "INTERNAL_SERVER_ERROR",
"requestUrl": "/v1/portal-content/{contentId}",
"body": "Server error."
}
Was this page helpful?
⌘I
