UsuáriosAtualizar Usuário

Atualizar Usuário

curl -X PUT "https://api.amplifique.me/partners/users/{user_id}" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
"{
  "_id": "6287aba50f06ef0bdf789aa2",
  "name": "Nome do Usuário",
  "email": "email@dousuario.com",
  "active": true,
  "role": "own",
  "_empresa": "6287abaef6ee66d309ab00b1",
  "_businesses": [
    "6287abb2ec1259b0a5d75f99"
  ]
}"
PUT
/partners/users/{user_id}
PUT
API Key (header: Authorization)
Authorizationstring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

API Key for authentication. Provide your API key in the header.

Responses

_idstring
namestring
emailstring
activeboolean
rolestring
_empresastring
_businessesstring[]