Skip to main content
DELETE
/
posts
/
{post_id}
/
categories
/
{category_id}
Detach a category from a post
curl --request DELETE \
  --url http://localhost:3001/portal-api/posts/{post_id}/categories/{category_id} \
  --header 'Authorization: <api-key>'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Path Parameters

post_id
integer
required
Example:
category_id
integer
required
Example:

Response

status
string
Example: