environments

Set default environment

Make this environment the project's default; the previous default is unset.

Required permission: environments.update.

post/v1/projects/{project_id}/environments/{environment_id}/set-default

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/environments/{environment_id}/set-default
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Response

Successful Response

okboolean required

Whether the operation succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.