Delete an environment role

Deletes an environment role by its ID. The role must not be assigned to any collaborators. If the request returns a `204 No Content` status code, the environment role was successfully deleted. No content is returned in the response body. <Warning title="EARLY ACCESS FEATURE"> This access control endpoint is in limited preview. The access control model is under active development and may change. Contact your Customer Success Manager to participate in early access testing.</Warning>

Path parameters

idstringRequired
The ID of the environment role to delete.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Errors