Create an environment role

Creates a new environment role with the specified name and privilege configuration. Optionally, you can mark the role as inheritable by AHQ child workspaces. <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>

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
environment_roleobjectRequired

Response

Success reply
dataobject or null

Errors