Manage customer accounts - Update Customer
PATCH https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}
Parâmetros do URI
Name | Em | Necessário | Tipo | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
O ID do inquilino do cliente. |
user_id
|
path | True |
string |
O ID do objeto de utilizador. |
Cabeçalho do Pedido
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Necessário | Tipo | Description |
---|---|---|---|
Authorization | True |
string |
Token do Portador de Autorização |
ms-correlationid |
string |
Utilizado para controlar os pedidos internamente. Se não for fornecido um ms-correlationid, o servidor irá gerar um novo para cada pedido |
|
ms-cv |
string |
Utilizado para controlar os pedidos internamente. Se não for fornecido um ms-cv, o servidor irá gerar um novo para cada pedido |
|
ms-requestid |
string |
Utilizado para idempotência de pedidos. Se não for fornecido um ms-requestid, o servidor irá gerar um novo para cada pedido |
Corpo do Pedido
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Tipo | 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 |
Respostas
Name | Tipo | Description |
---|---|---|
200 OK |
Os atributos do utilizador foram atualizados com êxito. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definições
Microsoft.Partner.Core.Collections.Link
Name | Tipo | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Tipo | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
Name | Tipo | 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 | Tipo | Description |
---|---|---|
forceChangePassword |
boolean |
|
password |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Tipo | Description |
---|---|---|
key |
string |
|
value |
string |
System.Security.SecureString
Name | Tipo | Description |
---|---|---|
length |
integer |