Editar Usuário

Atualize o nome e/ou o perfil de um usuário em agreement_dashboard e agreement_manager, na organização autenticada.

put/auth/api/v1/users/{id}

Request

  • Base URL
    https://apigw.nuvidio.com
  • URL
    https://apigw.nuvidio.com/auth/api/v1/users/{id}
  • Auth
    OAuth 2

Path parameters

idstring uuid required

Identificador do usuário a ser editado.

Request body

namestring

Novo nome. Não pode ficar vazio depois de remover os espaços das pontas. Não aceita null: o nome não pode ser apagado.

Response

200

Example response

{
  "data": {
    "id": "b7e4c1d2-0000-0000-0000-000000000001",
    "name": "Maria Exemplo",
    "email": "maria.exemplo@empresa.com",
    "applications": {
      "agreement_dashboard": {
        "roles": [
          {
            "id": "6f1c2a9e-0000-0000-0000-000000000001",
            "name": "owner"
          }
        ]
      },
      "agreement_manager": {
        "roles": [
          {
            "id": "6f1c2a9e-0000-0000-0000-000000000001",
            "name": "owner"
          }
        ]
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.