Bagikan melalui


Manage customer accounts - Update Customer

PATCH https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}

Parameter URI

Nama Dalam Diperlukan Jenis Deskripsi
customer_id
path True

string

Id penyewa pelanggan.

user_id
path True

string

Id objek pengguna.

Header Permintaan

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Nama Diperlukan Jenis Deskripsi
Authorization True

string

Token Pembawa Otorisasi

ms-correlationid

string

Digunakan untuk melacak permintaan secara internal. Jika ms-correlationid tidak disediakan, server akan menghasilkan yang baru untuk setiap permintaan

ms-cv

string

Digunakan untuk melacak permintaan secara internal. Jika ms-cv tidak disediakan, server akan menghasilkan yang baru untuk setiap permintaan

ms-requestid

string

Digunakan untuk idempotensi permintaan. Jika ms-requestid tidak disediakan, server akan menghasilkan yang baru untuk setiap permintaan

Isi Permintaan

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Nama Jenis Deskripsi
displayName

string

firstName

string

id

string

immutableId

string

lastDirectorySyncTime

string

lastName

string

links

Microsoft.Partner.Core.Collections.ResourceLinks

passwordProfile

Microsoft.Partner.Providers.Contracts.V1.PasswordProfile

phoneNumber

string

softDeletionTime

string

state enum:
  • active
  • inactive
usageLocation

string

userDomainType enum:
  • none
  • managed
  • federated
userPrincipalName

string

Respons

Nama Jenis Deskripsi
200 OK

Atribut pengguna berhasil diperbarui.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Definisi

Nama Deskripsi
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
Microsoft.Partner.Providers.Contracts.V1.PasswordProfile
System.Collections.Generic.KeyValuePair[System.String,System.String]
System.Security.SecureString
Nama Jenis Deskripsi
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Nama Jenis Deskripsi
etag

string

objectType

string

Nama Jenis Deskripsi
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.CustomerUser

Nama Jenis Deskripsi
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

displayName

string

firstName

string

id

string

immutableId

string

lastDirectorySyncTime

string

lastName

string

links

Microsoft.Partner.Core.Collections.ResourceLinks

passwordProfile

Microsoft.Partner.Providers.Contracts.V1.PasswordProfile

phoneNumber

string

softDeletionTime

string

state enum:
  • active
  • inactive
usageLocation

string

userDomainType enum:
  • federated
  • managed
  • none
userPrincipalName

string

Microsoft.Partner.Providers.Contracts.V1.PasswordProfile

Nama Jenis Deskripsi
forceChangePassword

boolean

password

System.Security.SecureString

System.Collections.Generic.KeyValuePair[System.String,System.String]

Nama Jenis Deskripsi
key

string

value

string

System.Security.SecureString

Nama Jenis Deskripsi
length

integer