Edit

Share via


Deployment Pipelines - Delete Deployment Pipeline Role Assignment

Deletes the specified deployment pipeline role assignment for the specified principal.

Permissions

The caller must have an admin deployment pipelines role.

Required Delegated Scopes

Pipeline.ReadWrite.All

Microsoft Entra supported identities

This API supports the Microsoft identities listed in this section.

Identity Support
User Yes
Service principal and Managed identities Yes

Interface

DELETE https://api.fabric.microsoft.com/v1/deploymentPipelines/{deploymentPipelineId}/roleAssignments/{principalId}

URI Parameters

Name In Required Type Description
deploymentPipelineId
path True

string (uuid)

The deployment pipeline ID.

principalId
path True

string (uuid)

The principal ID.

Responses

Name Type Description
200 OK

Request completed successfully.

Other Status Codes

ErrorResponse

Common error codes:

  • UnknownError - An error occurred

Examples

Remove group role assignment from a deployment pipeline example
Remove service principal role assignment from a deployment pipeline example

Remove group role assignment from a deployment pipeline example

Sample request

DELETE https://api.fabric.microsoft.com/v1/deploymentPipelines/8ce96c50-85a0-4db3-85c6-7ccc3ed46523/roleAssignments/5dba60b0-d9a7-42a3-b12c-6d9d51e7739a

Sample response

Remove service principal role assignment from a deployment pipeline example

Sample request

DELETE https://api.fabric.microsoft.com/v1/deploymentPipelines/8ce96c50-85a0-4db3-85c6-7ccc3ed46523/roleAssignments/a35d842b-90d5-59a1-c56a-5f8fcff0bf9d

Sample response

Definitions

Name Description
ErrorRelatedResource

The error related resource details object.

ErrorResponse

The error response.

ErrorResponseDetails

The error response details.

ErrorRelatedResource

The error related resource details object.

Name Type Description
resourceId

string

The resource ID that's involved in the error.

resourceType

string

The type of the resource that's involved in the error.

ErrorResponse

The error response.

Name Type Description
errorCode

string

A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users.

message

string

A human readable representation of the error.

moreDetails

ErrorResponseDetails[]

List of additional error details.

relatedResource

ErrorRelatedResource

The error related resource details.

requestId

string

ID of the request associated with the error.

ErrorResponseDetails

The error response details.

Name Type Description
errorCode

string

A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users.

message

string

A human readable representation of the error.

relatedResource

ErrorRelatedResource

The error related resource details.