Assigns the specified role to a user or group within the given workspace. Note: A workspace must have at least one owner at all times. Changing the last owner’s role will be rejected.
Use your API key to access BlinkOps API. To generate an API key, please log in to your BlinkOps account and navigate to the API Keys section in the user settings page. Add the generated key to your request headers as BLINK-API-KEY.
The ID of the workspace
The type of entity to assign the role to (user or group)
The ID of the user or group to assign the role to
The name of the role to assign to the entity