Deletes a perspective from an environment. An Environment can only have one Perspective
No content
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
curl -i -X DELETE \ 'https://app.harness.io/cf/admin/environments/perspectives?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&environmentIdentifier=string' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "code": "404",
- "details": { },
- "message": "string"
}
Adds a perspective to an environment, or updates an existing. An Environment can only have one Perspective
OK
OK
Bad request
Unauthenticated
Unauthorized
The specified resource already exists
Internal server error
{- "perspectiveIdentifier": "12345",
- "perspectiveName": "myCluster"
}
{- "createdAt": 0,
- "environmentId": "67891",
- "perspectiveId": "12345",
- "perspectiveIdentifier": "myCluster",
- "updatedAt": 0
}