Skip to main content

Retrieves change request configuration for a project

GET <your-unleash-url>/api/admin/projects/:projectId/change-requests/config

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Given a projectId, this endpoint will retrieve change request configuration for the project

Request

Path Parameters

  • projectId string required
Responses

changeRequestConfigSchema

Schema
  • Array [
  • environment string required

    The environment that this configuration applies to.

  • type string required

    The type of the environment listed in environment.

  • changeRequestEnabled boolean required

    true if this environment has change requests enabled, otherwise false.

  • requiredApprovals number nullable required

    The number of approvals that are required for a change request to be fully approved and ready to be applied in this environment.

  • ]

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
projectId — path required
curl / cURL
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/config' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'