Skip to main content

Retrieves change request configuration for a project

GET 

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

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

Request

Path Parameters

    projectId stringrequired

Responses

changeRequestConfigSchema

Schema
  • Array [
  • environmentstringrequired

    The environment that this configuration applies to.

    Example: my-dev-environment
    typestringrequired

    The type of the environment listed in environment.

    Example: development
    changeRequestEnabledbooleanrequired

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

    Example: true
    requiredApprovalsnumbernullablerequired

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

    Example: 2
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/projects/:projectId/change-requests/config' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!