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
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

Response

Successful Response

PublicOkResponse required
ok, boolean required

Whether the operation succeeded.

Changes

No recorded changes to this operation across all 17 revisions of this API.