Skip to main content
Skip table of contents

Modifier les propriétés de l'utilisateur

POST /v3/users

Créer un utilisateur. nom d'utilisateur et nom complet sont les seuls paramètres requis. Les utilisateurs supprimés ne sont pas supprimés. L'utilisateur connecté DOIT avoir le droit Gérer les utilisateurs

CODE
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%

Authentication:
Grand_type: client_credentials, login_info
Scopes: [ users ]

Request body:
{
  "username": "string",
  "fullname": "string"
}

Response body:
{
  "id": 0,
  "username": "string",
  "fullname": "string"
}


PUT /v3/users/me

Modifier l'utilisateur connecté.

CODE
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%

Authentication:
Grand_type: login_info
Scopes: []

Request body:
{
  "username": "string",
  "fullname": "string",
  "email": "string",
  "scanStorage": "string",
  "code": "string",
  "syncSource": "string",
  "lang": "string",
  "phone": "string",
  "ldapDomain": "string",
  "notes": "string"
}


PUT /v3/utilisateurs/{id}

Mettre à jour un utilisateur.

CODE
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%

Authentication:
Grand_type: client_credentials, login_info
Scopes: [ users ]

Request body:
{
  "username": "string",
  "fullname": "string",
  "email": "string",
  "scanStorage": "string",
  "code": "string",
  "syncSource": "string",
  "lang": "string",
  "phone": "string",
  "ldapDomain": "string",
  "notes": "string"
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.