Environment Perspectives

APIs to create and manage Feature Flag Environment perspectives

Delete a Perspective - Environment link.

Deletes a perspective from an environment. An Environment can only have one Perspective

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier

Examples:
accountIdentifier=default
orgIdentifier
required
string

Organization Identifier

Examples:
orgIdentifier=default_org
projectIdentifier
required
string

The Project identifier

environmentIdentifier
required
string

Environment Identifier

Responses
204

No content

401

Unauthenticated

403

Unauthorized

404

The specified resource was not found

500

Internal server error

delete/cf/admin/environments/perspectives
Request samples
Response samples
application/json
{
  • "code": 404,
  • "details": { },
  • "message": "Error retrieving projects, organization 'default_org' does not exist"
}

Upsert a Perspective to an Environment.

Adds a perspective to an environment, or updates an existing. An Environment can only have one Perspective

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier

Examples:
accountIdentifier=default
orgIdentifier
required
string

Organization Identifier

Examples:
orgIdentifier=default_org
projectIdentifier
required
string

The Project identifier

environmentIdentifier
required
string

Environment Identifier

Request Body schema: application/json
perspectiveIdentifier
required
string
perspectiveName
required
string
Responses
200

OK

201

OK

400

Bad request

401

Unauthenticated

403

Unauthorized

409

The specified resource already exists

500

Internal server error

put/cf/admin/environments/perspectives
Request samples
application/json
{
  • "perspectiveIdentifier": "12345",
  • "perspectiveName": "myCluster"
}
Response samples
application/json
{
  • "createdAt": 0,
  • "environmentId": "67891",
  • "perspectiveId": "12345",
  • "perspectiveIdentifier": "myCluster",
  • "updatedAt": 0
}