Cancel a publish request that has not started

POST
/v1/publish-requests/{publishRequestId}/cancel

Cancel a publish request that has not started. A request whose provider execution has begun answers 409 conflict with its current status.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

publishRequestId*string
Length1 <= length

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/publish-requests/string/cancel"
{  "publishRequestId": "string",  "status": "created",  "statusUrl": "string",  "contentType": "string",  "variant": "string",  "connectedProfileId": "string",  "groupId": "string",  "clientItemId": "string",  "scheduledAt": "string",  "workflowId": "string",  "externalId": "string",  "error": null,  "createdAt": "string",  "updatedAt": "string",  "startedAt": "string",  "succeededAt": "string",  "failedAt": "string",  "cancelledAt": "string"}
{  "error": {    "code": "validation_error",    "message": "string",    "meta": {      "property1": null,      "property2": null    }  }}