curl --request DELETE \
--url https://apix.us.amity.co/api/v4/stories/{storyId} \
--header 'Authorization: Bearer <token>'
{
"success": true
}
Delete a story
curl --request DELETE \
--url https://apix.us.amity.co/api/v4/stories/{storyId} \
--header 'Authorization: Bearer <token>'
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
If true, the story will be deleted permanently (hard deleted). If false, the story will be soft deleted.
Delete Result
The response is of type object
.