Create an alteration package chain from an alteration package

Starts a chain on the policy with a pending standalone alteration package as its first member. Its alteration hook is quoted again, with its request_data (or its input_data when it has none), against the policy as it stands. The new member is a new alteration package. In the same transaction the standalone package is archived and any scheduled apply is cancelled, so the alteration is never pending twice.

Requires the create and archive alteration packages permissions.

Path Params
uuid
required

Must be a UUID. The unique identifier of the policy.

Query Params
string

To perform an idempotent request, provide the idempotency_key query parameter with the request. An idempotency key is a unique value generated by the client which the platform uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using a V4 UUID, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.

Body Params
uuid
required

The pending standalone alteration package to start the chain with. It must be on the policy.

string | null

Optional. A name for the chain, on one line, up to 100 UTF-16 code units (an emoji counts as 2). Leading and trailing spaces are trimmed. A name with a control character such as a line break or tab, a line or paragraph separator, or a bidi override is rejected, and so is a name with no visible character. null is the same as leaving it out.

Responses

400

The request failed validation, the alteration package is not pending or belongs to a chain, or its stored data no longer quotes.

404

The alteration package was not found on the policy.

409

The alteration package was applied or archived by another request. Nothing is changed.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json