Create a release policy

Create a new release policy 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

Release policy to create
releaseMethodenumRequired
The release method for this policy
Allowed values:
namestringRequired<=256 characters
The name of the release policy
keystringRequired

The human-readable key of the release policy

scopeobjectOptional
guardedReleaseConfigobjectOptional
Configuration for guarded releases
progressiveReleaseConfigobjectOptional
Configuration for progressive releases

Response

Release policy created 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
409
Conflict Error
500
Internal Server Error