BillingRoleAssignments

POST /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/createBillingRoleAssignment

Changed on

Adds a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

billingAccountNamestring required

The ID that uniquely identifies a billing account.

Query parameters

api-versionstring required

The version of the API to be used with the client request. The current version is 2019-10-01-preview.

Request body

principalIdstring

The user's principal id that the role gets assigned to

billingRoleDefinitionIdstring

The role definition id

Response

Role assignment is successfully created

nextLinkstring

The link (url) to the next page of results.

Changes

  • 2019-10-01-preview4ff6e8983572Revision changes
    • info

      api operation id BillingRoleAssignments_AddByBillingAccountName removed and replaced with BillingRoleAssignments_AddByBillingAccount