Compartir a través de


Manage customer accounts - Created Customer User

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

Parámetros de identificador URI

Nombre En Requerido Tipo Description
customer_id
path True

string

Identificador de inquilino del cliente.

Encabezado de la solicitud

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

Nombre Requerido Tipo Description
Authorization True

string

Token de portador de autorización

ms-correlationid

string

Se usa para realizar el seguimiento de las solicitudes internamente. Si no se proporciona un ms-correlationid, el servidor generará uno nuevo para cada solicitud.

ms-cv

string

Se usa para realizar el seguimiento de las solicitudes internamente. Si no se proporciona un ms-cv, el servidor generará uno nuevo para cada solicitud.

ms-requestid

string

Se usa para la idempotencia de las solicitudes. Si no se proporciona un ms-requestid, el servidor generará uno nuevo para cada solicitud.

Cuerpo de la solicitud

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

Nombre Tipo Description
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

Respuestas

Nombre Tipo Description
200 OK

object

Aceptar

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

201 Created

Microsoft.Partner.Providers.Contracts.V1.CustomerUser

La solicitud fue correcta. El cuerpo de la respuesta contiene el usuario del cliente creado.

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

Definiciones

Nombre Description
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
Nombre Tipo Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Nombre Tipo Description
etag

string

objectType

string

Nombre Tipo Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.CustomerUser

Nombre Tipo Description
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

Nombre Tipo Description
forceChangePassword

boolean

password

System.Security.SecureString

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

Nombre Tipo Description
key

string

value

string

System.Security.SecureString

Nombre Tipo Description
length

integer