Reviews
Cancel your review request
POST
/publish-requests/{id}/cancelOnly the person who asked can cancel.
Authorization
secretKeyheader
AuthorizationBearer <sk_…>A secret API key from Settings → API keys. It acts with its creator's role.
Path Parameters
id*integerThe request's id.
Range
1 <= valueResponse Body
Canceled
application/json- response
request*A request to publish a version to production, waiting for (or after) review.
Shell
curl -X POST 'https://app.cueston.com/api/publish-requests/1/cancel'Example Response
JSON
{
"request": {
"id": 42,
"contentType": "tour",
"contentId": 42,
"contentName": "Onboarding tour",
"versionId": 7,
"version": 3,
"environment": "production",
"status": "pending",
"note": "Clearer copy on step 2",
"requestedBy": {
"id": 42,
"name": "Ada Lovelace",
"email": "ada@acme.com"
},
"reviewer": {
"id": 42,
"name": "Ada Lovelace",
"email": "ada@acme.com"
},
"reviewNote": "Looks good",
"createdAt": "2026-10-26T09:30:00Z",
"reviewedAt": "2026-10-26T09:30:00Z"
}
}