Pular para o conteúdo principal
PUT
Update a user

Autorizações

api_access_token
string
header
obrigatório

Token de um Platform App, gerado pelo super admin. Usado para provisionar contas, usuários, papéis e bots.

Parâmetros de caminho

id
string
obrigatório

The numeric ID of the user on the platform

Corpo

application/json
name
string

Name of the user

Exemplo:

"Daniel"

display_name
string

Display name of the user

Exemplo:

"Dan"

email
string

Email of the user

Exemplo:

"daniel@acme.inc"

password
string

Password must contain uppercase, lowercase letters, number and a special character

Exemplo:

"Password2!"

custom_attributes
object

Custom attributes you want to associate with the user

Exemplo:

Resposta

Success

id
number
access_token
string
account_id
number
available_name
string
avatar_url
string
confirmed
boolean
display_name
string | null
message_signature
string | null
email
string
hmac_identifier
string
inviter_id
number | null
name
string
provider
string
pubsub_token
string
role
enum<string>
Opções disponíveis:
agent,
administrator
ui_settings
object
uid
string
type
string | null
custom_attributes
object

Available for users who are created through platform APIs and has custom attributes associated.

accounts
object[]