Update the order of existing release policies

Update the order of existing release policies for the specified project.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired
The project key

Headers

LD-API-VersionenumRequired
Version of the endpoint.
Allowed values:

Request

Array of release policy keys in the desired rank order (scoped policies only). These keys must include all of the scoped release policies for the project.

Response

Release policies updated successfully
_idstring
The unique identifier of the release policy
rankinteger

The rank/priority of the release policy

releaseMethodenum
The release method for this policy
Allowed values:
namestring<=256 characters
The name of the release policy
keystring

The human-readable key of the release policy

_accessobject
scopeobject
guardedReleaseConfigobject
Configuration for guarded releases
progressiveReleaseConfigobject
Configuration for progressive releases

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error