Reorder an alteration package chain

Sets the complete order of the chain's members. Leave a member out to remove it. Every member from the first changed position is re-quoted and replaced by a new alteration package, with refreshed_from_alteration_package_id set to the one it replaces. On a stale chain every member is re-quoted.

Requires the create alteration packages permission.

Path Params
uuid
required

Must be a UUID. The unique identifier of the alteration package chain.

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
alteration_package_ids
array of uuids
required

Must be UUIDs. Every member to keep, in the new order.

alteration_package_ids*
Responses

400

The chain is not building, the list is empty, names an alteration package that is not a member, or names one twice, or a member no longer quotes.

404

The alteration package chain was not found.

409

Another request changed the chain first. Retrieve it and try again.

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