Manage customer accounts - Created Customer User
POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Kundens klientorganisations-ID. |
Begärandehuvud
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Authorization | True |
string |
Token för auktoriseringsbärare |
ms-correlationid |
string |
Används för att spåra begäranden internt. Om ett ms-correlationid inte anges genererar servern en ny för varje begäran |
|
ms-cv |
string |
Används för att spåra begäranden internt. Om en ms-cv inte tillhandahålls genererar servern en ny för varje begäran |
|
ms-requestid |
string |
Används för idempotens för begäranden. Om ett ms-requestid inte har angetts genererar servern en ny för varje begäran |
Begärandetext
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Typ | Description |
---|---|---|
displayName |
string |
|
firstName |
string |
|
id |
string |
|
immutableId |
string |
|
lastDirectorySyncTime |
string |
|
lastName |
string |
|
links | ||
passwordProfile | ||
phoneNumber |
string |
|
softDeletionTime |
string |
|
state |
enum:
|
|
usageLocation |
string |
|
userDomainType |
enum:
|
|
userPrincipalName |
string |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
object |
OKEJ Media Types: "application/json", "text/json", "application/xml", "text/xml" |
201 Created |
Begäran lyckades. Svarstexten innehåller den skapade kundanvändaren. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitioner
Microsoft.Partner.Core.Collections.Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
Name | Typ | Description |
---|---|---|
attributes | ||
displayName |
string |
|
firstName |
string |
|
id |
string |
|
immutableId |
string |
|
lastDirectorySyncTime |
string |
|
lastName |
string |
|
links | ||
passwordProfile | ||
phoneNumber |
string |
|
softDeletionTime |
string |
|
state |
enum:
|
|
usageLocation |
string |
|
userDomainType |
enum:
|
|
userPrincipalName |
string |
Microsoft.Partner.Providers.Contracts.V1.PasswordProfile
Name | Typ | Description |
---|---|---|
forceChangePassword |
boolean |
|
password |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |
System.Security.SecureString
Name | Typ | Description |
---|---|---|
length |
integer |