Skip to main content
PATCH
/
users
/
{id}
cURL
curl --request PATCH \
  --url https://api.example.com/users/{id} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
  "name": "Maria de Souza",
  "role": "admin",
  "updatedAt": "2024-02-15T14:30:00.000Z"
}

Documentation Index

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

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

Path

id
string
required
Id do Perfil de Usuário local.

Body

name
string
Nome.
password
string
Troca forçada de senha.
role
string
Alteração do tipo de acesso (ex: ascender um member para admin).

Response

{
  "id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
  "name": "Maria de Souza",
  "role": "admin",
  "updatedAt": "2024-02-15T14:30:00.000Z"
}

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

200 - undefined