Skip to main content
POST
/
user
/
edit
Editar usuário
curl --request POST \
  --url https://api.multchats.com/v2/user/edit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "name": "<string>",
  "permissionsSectors": []
}
'
{
  "success": true,
  "data": {
    "user": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.multchats.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
userId
string
required

ID do usuário

Pattern: ^c[a-z0-9]{24}$
name
string
required

Nome do usuário

Required string length: 1 - 255
permissionsSectors
(enum<string> | string)[]
required

IDs dos setores com permissão de acesso. Use all para conceder permissão em todos os setores.

Minimum array length: 1
Available options:
all

Response

Usuário editado com sucesso

success
boolean

Indica se a operação foi bem-sucedida

data
object