Del via


Role Based Access Control - Delete Environment Group Role Assignment

Delete environment group role assignment.
Deletes a role assignment by ID for the specified environment group. Preview.

DELETE https://api.powerplatform.com/authorization/environmentGroups/{environmentGroupId}/roleAssignments/{roleAssignmentId}?api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
environmentGroupId
path True

string

The unique identifier of the environment group.

roleAssignmentId
path True

string

The unique identifier of the role assignment.

api-version
query True

string

The API version.

Responses

Name Type Description
204 No Content

Role assignment deleted successfully.

400 Bad Request

Bad Request - The parameters are invalid.

401 Unauthorized

Unauthorized - Invalid credentials or missing authentication.

404 Not Found

Not Found - The role assignment does not exist.

500 Internal Server Error

Internal Server Error - Unexpected server error.

Security

oauth2

Microsoft Entra ID OAuth2

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com

Scopes

Name Description
.default .default