Role Eligibility Schedule Requests - Cancel

Cancels a pending role eligibility schedule request.

POST https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}/cancel?api-version=2020-10-01

URI Parameters

Name In Required Type Description
roleEligibilityScheduleRequestName
path True

string

The name of the role eligibility request to cancel.

scope
path True

string

The scope of the role eligibility request to cancel.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

OK - Returns success.

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

CancelRoleEligibilityScheduleRequestByName

Sample Request

POST https://management.azure.com/providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/64caffb6-55c0-4deb-a585-68e948ea1ad6/cancel?api-version=2020-10-01

Sample Response

Definitions

Name Description
CloudError

An error response from the service.

CloudErrorBody

An error response from the service.

CloudError

An error response from the service.

Name Type Description
error

CloudErrorBody

An error response from the service.

CloudErrorBody

An error response from the service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message

string

A message describing the error, intended to be suitable for display in a user interface.