curl --request POST \
--url https://api.app.hrizn.io/v1/public/gbp/posts/{id}/cancel \
--header 'X-API-Key: <api-key>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "cancelled"
}
}Cancels a scheduled GBP post and removes its EventBridge schedule. Only posts with status scheduled can be cancelled.
Scope required: gbp:write
curl --request POST \
--url https://api.app.hrizn.io/v1/public/gbp/posts/{id}/cancel \
--header 'X-API-Key: <api-key>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "cancelled"
}
}