Create an environment role in a customer workspace

Creates a new environment role with the specified name and privilege configuration in an Embedded workspace. <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

managed_user_idstringRequired

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