Cancel an include's pending activation

DELETE https://{{host}}/papi/v1/includes/:includeId/activations/:activationId

Limited availability If you detect a problem with an include version while its activation is still PENDING, use this operation to cancel it. Make a DELETE request on the activationLink you get from the Activate an include operation's response. Once you DELETE the activation, it no longer appears in the list of activations, but you can still access it individually.

Request Params

KeyDatatypeRequiredDescription
contractIdstring(Optional) Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the groupId. In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's ctr_ prefix.
groupIdstring(Optional) Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the contractId. In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's grp_ prefix.
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
PAPI-Use-Prefixesstring(Required) Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs.
Acceptstring

RESPONSES

status: OK

{"accountId":"act_A-CCT9012","activations":{"items":[{"activationType":"ACTIVATE","fmaActivationState":"received","includeActivationId":"5e597860-1107-461e-8dbe-4e7526e8dd02","includeId":"inc_173036","includeName":"example.inc.com","includeType":"COMMON_SETTINGS","includeVersion":1,"network":"STAGING","note":"Sample cancellation","notifyEmails":["you@example.com","them@example.com"],"status":"PENDING_CANCELLATION","submitDate":"2022-03-02T02:22:12Z","updateDate":"2022-03-01T21:12:57Z"}]},"contractId":"ctr_K-0N7RAK71","groupId":"grp_32145"}