BillingRoleAssignments

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

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

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

Changed in 1 of the 37 revisions of this API.1

  • 2019-10-01-preview4ff6e89835721See the full diff
    • api operation id BillingRoleAssignments_AddByBillingAccountName removed and replaced with BillingRoleAssignments_AddByBillingAccount

      api-operation-id-removed