SYNERGY
Chapters

11.6REST API reference

Last updated

The operations in this chapter are also available over the REST API (see Chapter 15, REST API for integrators). Routes are relative to the surface (/api for machine credentials, /rest for the console).

Method and routePurposePermission
GET /users, GET /users/{id}List or read platform usersusers:list, users:read
POST /usersCreate a user (with password or sendPasswordSetupEmail: true)users:create
PUT /users/{id}Edit a userusers:update
POST /users/{id}/reset-passwordSet a new passwordusers:update
POST /users/{id}/password-setup-linkResend the setup linkusers:update
POST /users/{id}/deactivate, /activateDeactivate or reactivateusers:update
DELETE /users/{id}Delete a userusers:delete
GET /users/{id}/sessionsList a user's sign-in sessions (system scope)users:read
GET /users/{id}/windows-linkRead a user's Windows account linkusers:read
GET /users/windows-accountsSearch Active Directory accounts to linkusers:update
PUT /users/{id}/windows-linkLink a Windows account (console only)users:update
DELETE /users/{id}/windows-linkRemove a Windows account linkusers:update
POST /users/{id}/two-factor/resetReset two-factor sign-in (console only)users:update
GET /roles, GET /roles/{id}List or read rolesroles:list
GET /roles/templatesList role templatesroles:create
POST /roles, POST /roles/{id}/copyCreate or copy a roleroles:create
PUT /roles/{id}Update a roleroles:update
PUT /roles/{id}/two-factor-requirementRequire two-factor sign-in (console only)roles:update
DELETE /roles/{id}Delete a roleroles:delete
GET /permissionsList all permissionspermissions:list

Changes to users and roles are always recorded in the operations log, and cannot be switched off from Directory Policies.

Last updated

Did this page help you?