Manage customer accounts - Get Directory Roles by CustomerId
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/directoryroles
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
De tenant-id van de klant. |
Aanvraagkoptekst
Name | Vereist | Type | Description |
---|---|---|---|
Authorization | True |
string |
Bearer-token voor autorisatie |
ms-correlationid |
string |
Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-correlationid is opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-cv |
string |
Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-cv is opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-requestid |
string |
Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid is opgegeven, genereert de server een nieuwe voor elke aanvraag |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
De aanvraag is geslaagd. De hoofdtekst van het antwoord bevat een lijst met ondersteunde directoryrollen van klanten voor alle klanten. Media Types: "application/json", "text/json" |
Definities
Microsoft.Partner.Core.Collections.Link
Name | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.DirectoryRole]
Name | Type | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.DirectoryRole
Name | Type | Description |
---|---|---|
attributes | ||
id |
string |
|
name |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Type | Description |
---|---|---|
key |
string |
|
value |
string |