Delen via


Billing Role Assignments - Delete By Invoice Section

Hiermee verwijdert u een roltoewijzing op een factuursectie. De bewerking wordt ondersteund voor factureringsaccounts met het type Microsoft-klantovereenkomst.

DELETE https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}?api-version=2024-04-01

URI-parameters

Name In Vereist Type Description
billingAccountName
path True

string

De id waarmee een factureringsrekening uniek wordt geïdentificeerd.

Regex-patroon: ^([0-9]+|([Pp][Cc][Nn]\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$

billingProfileName
path True

string

De id waarmee een factureringsprofiel uniek wordt geïdentificeerd.

Regex-patroon: ^[a-zA-Z\d-_]{1,128}$

billingRoleAssignmentName
path True

string

De id waarmee een roltoewijzing uniek wordt geïdentificeerd.

Regex-patroon: ^[a-fA-F0-9]{8}[-]?([a-fA-F0-9]{4}[-]?){3}[a-fA-F0-9]{12}(_[a-fA-F0-9]{8}[-]?([a-fA-F0-9]{4}[-]?){3}[a-fA-F0-9]{12})?$

invoiceSectionName
path True

string

De id waarmee een factuursectie uniek wordt geïdentificeerd.

Regex-patroon: ^[a-zA-Z\d-_]{1,128}$

api-version
query True

string

De versie van de API die moet worden gebruikt met de clientaanvraag. De huidige versie is 2024-04-01.

Antwoorden

Name Type Description
200 OK

OK. De aanvraag is voltooid.

204 No Content

De aanvraag is voltooid zonder hoofdtekst van het antwoord.

Other Status Codes

ErrorResponse

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Voorbeelden

BillingRoleAssignmentDeleteByInvoiceSection

Voorbeeldaanvraag

DELETE https://management.azure.com/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2018-09-30/billingProfiles/BKM6-54VH-BG7-PGB/invoiceSections/xxxx-xxxx-xxx-xxx/billingRoleAssignments/10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9?api-version=2024-04-01

Voorbeeldrespons

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.