> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/version-information/rest-api-reference/users.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Users

Users management and authentication

## Get user list

> Return a list of all registered catalog users

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"User":{"type":"object","properties":{"publicId":{"type":"string","description":"User public id"},"name":{"type":"string","description":"User name"},"comment":{"type":"string","description":"User comment"},"useDefaultProfile":{"type":"boolean","description":"Use defaut Profile"},"profile":{"$ref":"#/components/schemas/Profile"},"group":{"$ref":"#/components/schemas/UserGroup"},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the user","xml":{"name":"availableActions"},"enum":["Delete"]}},"isPriviledgeUser":{"type":"boolean","writeOnly":true},"lastConnectedDate":{"type":"string","description":"The last date the user was connected in","format":"date-time"},"lastDeniedDate":{"type":"string","description":"The last date the connection of the user was denied","format":"date-time"},"countDenied":{"type":"integer","description":"Number of failed authentication attempts since the last successful authentication\n\n","format":"int32"},"passwordChangeDate":{"type":"string","description":"The date on which the password was changed","format":"date-time"},"userLocked":{"type":"boolean","description":"Indicates if user is locked (too many failed login attempts)"},"profileTemplate":{"type":"string","description":"Profile template associated with the user","enum":["USER_DEFINED","DEFAULT","CATALOG_ADMINISTRATOR"]},"twoFactorAutenticationUserStatus":{"type":"string","description":"Indicates the configuration status of two factor authentication for this user","enum":["NOT_CONFIGURED","CONFIGURED","NEED_TO_BE_CONFIGURED"]},"highestAlarm":{"type":"string","description":"Highest alarm associated to the user","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"priviledgeUser":{"type":"boolean","description":"Is privileged user","xml":{"name":"isPriviledgeUser"}}},"description":"All details about the user.","xml":{"name":"User"}},"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"UserGroup":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user group"},"publicId":{"type":"string","description":"Public id of the user group"}},"description":"Group of the user","xml":{"name":"UserGroup"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/users":{"get":{"tags":["List","Users"],"summary":"Get user list","description":"Return a list of all registered catalog users","operationId":"getUsers","responses":{"200":{"description":"User list","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Add a user

> Add a user

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UserCreationInput":{"required":["groupId","name","password","profile"],"type":"object","properties":{"groupId":{"type":"string","description":"Group id of the created user"},"selectedProfileTemplate":{"pattern":"^USER_DEFINED$|^DEFAULT$|^CATALOG_ADMINISTRATOR$","type":"string","description":"The profile template of the created user","enum":["USER_DEFINED","DEFAULT","CATALOG_ADMINISTRATOR"]},"profile":{"$ref":"#/components/schemas/Profile"},"name":{"maxLength":100,"minLength":2,"type":"string","description":"Name of the created user"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Comment of the created user"},"password":{"type":"string","description":"Password of the created user"}}},"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"CreationResponse":{"type":"object","properties":{"name":{"type":"string"},"publicId":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"}},"xml":{"name":"CreationResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/users":{"post":{"tags":["Creation","Users"],"summary":"Add a user","description":"Add a user","operationId":"createUser","requestBody":{"description":"User object to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreationInput"}}}},"responses":{"200":{"description":"User Successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}},"links":{"":{"operationId":"updateUser","parameters":{"publicId":"$response.body#/publicId"},"description":"the 'publicId' value returned in the response can be used as the 'publicId' parameter in the 'PUT /users/{publicId}'"}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get a profile

> Return a profile

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}}}},"paths":{"/api/users/profiles/{profile}":{"get":{"tags":["Users"],"summary":"Get a profile","description":"Return a profile","operationId":"getProfile","parameters":[{"name":"profile","in":"path","description":"Profile label from which profile object will be retrieved","required":true,"schema":{"type":"string","enum":["DEFAULT"]}}],"responses":{"200":{"description":"Profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Edit a profile

> Modify an existing profile

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}}}},"paths":{"/api/users/profiles/{profile}":{"put":{"tags":["Users"],"summary":"Edit a profile","description":"Modify an existing profile","operationId":"editProfile","parameters":[{"name":"profile","in":"path","description":"Profile name to modify","required":true,"schema":{"type":"string","enum":["DEFAULT"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}}},"responses":{"200":{"description":"Profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get a user by its publicId

> Return a user by its public id

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"User":{"type":"object","properties":{"publicId":{"type":"string","description":"User public id"},"name":{"type":"string","description":"User name"},"comment":{"type":"string","description":"User comment"},"useDefaultProfile":{"type":"boolean","description":"Use defaut Profile"},"profile":{"$ref":"#/components/schemas/Profile"},"group":{"$ref":"#/components/schemas/UserGroup"},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the user","xml":{"name":"availableActions"},"enum":["Delete"]}},"isPriviledgeUser":{"type":"boolean","writeOnly":true},"lastConnectedDate":{"type":"string","description":"The last date the user was connected in","format":"date-time"},"lastDeniedDate":{"type":"string","description":"The last date the connection of the user was denied","format":"date-time"},"countDenied":{"type":"integer","description":"Number of failed authentication attempts since the last successful authentication\n\n","format":"int32"},"passwordChangeDate":{"type":"string","description":"The date on which the password was changed","format":"date-time"},"userLocked":{"type":"boolean","description":"Indicates if user is locked (too many failed login attempts)"},"profileTemplate":{"type":"string","description":"Profile template associated with the user","enum":["USER_DEFINED","DEFAULT","CATALOG_ADMINISTRATOR"]},"twoFactorAutenticationUserStatus":{"type":"string","description":"Indicates the configuration status of two factor authentication for this user","enum":["NOT_CONFIGURED","CONFIGURED","NEED_TO_BE_CONFIGURED"]},"highestAlarm":{"type":"string","description":"Highest alarm associated to the user","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"priviledgeUser":{"type":"boolean","description":"Is privileged user","xml":{"name":"isPriviledgeUser"}}},"description":"All details about the user.","xml":{"name":"User"}},"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"UserGroup":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user group"},"publicId":{"type":"string","description":"Public id of the user group"}},"description":"Group of the user","xml":{"name":"UserGroup"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}}}},"paths":{"/api/users/{publicId}":{"get":{"tags":["Users"],"summary":"Get a user by its publicId","description":"Return a user by its public id","operationId":"UsersGet","parameters":[{"name":"publicId","in":"path","description":"User publicId from which user object will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"User","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"$ref":"#/components/schemas/ErrorResponseList"}]}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update a user

> Edit a user by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UserEditionInput":{"required":["groupId","profile"],"type":"object","properties":{"groupId":{"type":"string","description":"Group id of the changed user"},"selectedProfileTemplate":{"pattern":"^USER_DEFINED$|^DEFAULT$|^CATALOG_ADMINISTRATOR$","type":"string","description":"The profile template of the changed user","enum":["USER_DEFINED","DEFAULT","CATALOG_ADMINISTRATOR"]},"profile":{"$ref":"#/components/schemas/Profile"},"userModifierName":{"type":"string","description":"The name of the modifier who edit the user"},"userModifierPassword":{"type":"string","description":"The password of the modifier who edit the user"},"unlockUser":{"type":"boolean","description":"Used by user's admin to unlock the user"},"name":{"maxLength":100,"minLength":2,"type":"string","description":"Name of the changed user"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Comment of the changed user"},"password":{"type":"string","description":"Password of the changed user"}}},"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"User":{"type":"object","properties":{"publicId":{"type":"string","description":"User public id"},"name":{"type":"string","description":"User name"},"comment":{"type":"string","description":"User comment"},"useDefaultProfile":{"type":"boolean","description":"Use defaut Profile"},"profile":{"$ref":"#/components/schemas/Profile"},"group":{"$ref":"#/components/schemas/UserGroup"},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the user","xml":{"name":"availableActions"},"enum":["Delete"]}},"isPriviledgeUser":{"type":"boolean","writeOnly":true},"lastConnectedDate":{"type":"string","description":"The last date the user was connected in","format":"date-time"},"lastDeniedDate":{"type":"string","description":"The last date the connection of the user was denied","format":"date-time"},"countDenied":{"type":"integer","description":"Number of failed authentication attempts since the last successful authentication\n\n","format":"int32"},"passwordChangeDate":{"type":"string","description":"The date on which the password was changed","format":"date-time"},"userLocked":{"type":"boolean","description":"Indicates if user is locked (too many failed login attempts)"},"profileTemplate":{"type":"string","description":"Profile template associated with the user","enum":["USER_DEFINED","DEFAULT","CATALOG_ADMINISTRATOR"]},"twoFactorAutenticationUserStatus":{"type":"string","description":"Indicates the configuration status of two factor authentication for this user","enum":["NOT_CONFIGURED","CONFIGURED","NEED_TO_BE_CONFIGURED"]},"highestAlarm":{"type":"string","description":"Highest alarm associated to the user","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"priviledgeUser":{"type":"boolean","description":"Is privileged user","xml":{"name":"isPriviledgeUser"}}},"description":"All details about the user.","xml":{"name":"User"}},"UserGroup":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user group"},"publicId":{"type":"string","description":"Public id of the user group"}},"description":"Group of the user","xml":{"name":"UserGroup"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/users/{publicId}":{"put":{"tags":["Users"],"summary":"Update a user","description":"Edit a user by its publicId","operationId":"updateUser","parameters":[{"name":"publicId","in":"path","description":"User's publicId to be updated","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"User object to edit (modifier name/password required on user password edition)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserEditionInput"}}},"required":true},"responses":{"200":{"description":"User Successfully modified","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get user group list

> Return a list of all groups

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UserGroup":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user group"},"publicId":{"type":"string","description":"Public id of the user group"}},"description":"Group of the user","xml":{"name":"UserGroup"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/users/groups":{"get":{"tags":["List","Users"],"summary":"Get user group list","description":"Return a list of all groups","operationId":"getUserGroups","responses":{"200":{"description":"User group list","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserGroup"}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Users actions

> Perform action on selected users

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UsersActionInputDelete":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of user to delete"}},"actionName":{"type":"string","description":"Name of the action:Delete","enum":["Delete"]}}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/users/actions":{"put":{"tags":["Actions","Users"],"summary":"Users actions","description":"Perform action on selected users","operationId":"UsersAction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersActionInputDelete"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update current user password

> Update the current user password given old password and new password

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Users","description":"Users management and authentication"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PasswordChangeInput":{"required":["newPassword"],"type":"object","properties":{"newPassword":{"minLength":1,"type":"string","description":"Newly chosen password"},"oldPassword":{"type":"string","description":"The old password"}}},"User":{"type":"object","properties":{"publicId":{"type":"string","description":"User public id"},"name":{"type":"string","description":"User name"},"comment":{"type":"string","description":"User comment"},"useDefaultProfile":{"type":"boolean","description":"Use defaut Profile"},"profile":{"$ref":"#/components/schemas/Profile"},"group":{"$ref":"#/components/schemas/UserGroup"},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the user","xml":{"name":"availableActions"},"enum":["Delete"]}},"isPriviledgeUser":{"type":"boolean","writeOnly":true},"lastConnectedDate":{"type":"string","description":"The last date the user was connected in","format":"date-time"},"lastDeniedDate":{"type":"string","description":"The last date the connection of the user was denied","format":"date-time"},"countDenied":{"type":"integer","description":"Number of failed authentication attempts since the last successful authentication\n\n","format":"int32"},"passwordChangeDate":{"type":"string","description":"The date on which the password was changed","format":"date-time"},"userLocked":{"type":"boolean","description":"Indicates if user is locked (too many failed login attempts)"},"profileTemplate":{"type":"string","description":"Profile template associated with the user","enum":["USER_DEFINED","DEFAULT","CATALOG_ADMINISTRATOR"]},"twoFactorAutenticationUserStatus":{"type":"string","description":"Indicates the configuration status of two factor authentication for this user","enum":["NOT_CONFIGURED","CONFIGURED","NEED_TO_BE_CONFIGURED"]},"highestAlarm":{"type":"string","description":"Highest alarm associated to the user","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"priviledgeUser":{"type":"boolean","description":"Is privileged user","xml":{"name":"isPriviledgeUser"}}},"description":"All details about the user.","xml":{"name":"User"}},"Profile":{"type":"object","properties":{"canUseLibraries":{"type":"boolean","description":"Indicates whether the user can use libraries"},"usesDefaultProfile":{"type":"boolean","description":"Indicates whether the user uses the default profile"},"priviledgedUser":{"type":"boolean","description":"Indicates if the user is privileged"},"canAdminHosts":{"type":"boolean","description":"Indicates whether the user can administer hosts"},"canAdminDrives":{"type":"boolean","description":"Indicates whether the user can administer drives"},"canAdminLibraries":{"type":"boolean","description":"Indicates whether the user can administer libraries"},"canUseDrives":{"type":"boolean","description":"Indicates whether the user can use drives"},"canAdminPools":{"type":"boolean","description":"Indicates whether the user can administer pools"},"canAdminUsers":{"type":"boolean","description":"Indicates whether the user can administer users"},"canAdminStrategies":{"type":"boolean","description":"Indicates whether the user can administer strategies"},"canAdminClasses":{"type":"boolean","description":"Indicates whether the user can administer backup selections"},"canStartBackup":{"type":"boolean","description":"Indicates whether the user can start backup"},"canStartOnDemandBackup":{"type":"boolean","description":"Indicates whether the user can backup"},"canExtract":{"type":"boolean","description":"Indicates whether the user can restore"},"canExtractNoOrigin":{"type":"boolean","description":"Indicates whether the user can execute cross restoration"},"canArchiving":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingCreateFolders":{"type":"boolean","description":"Indicates whether the user can archive"},"canArchivingAdminArchives":{"type":"boolean","description":"Indicates whether the user can administrate archive"},"canArchivingEditFolders":{"type":"boolean","description":"Indicates whether the user can modify archive"},"canArchivingDeleteFolders":{"type":"boolean","description":"Indicates whether the user can remove archive from folder"},"canArchivingViewFolders":{"type":"boolean","description":"Indicates whether the user can see archive folders"},"canArchivingRestoreArchives":{"type":"boolean","description":"Indicates whether the user can archive and restore archive"},"canArchivingArchive":{"type":"boolean","description":"Indicates whether the user can create archive folder"},"canArchivingEditArchives":{"type":"boolean","description":"Indicates whether the user can edit archive folder"},"canArchivingCreateArchives":{"type":"boolean","description":"Indicates whether the user can archive for a given archive folder"},"canArchivingDeleteArchives":{"type":"boolean","description":"Indicates whether the user can remove archive folder"},"canAdminAllCartridges":{"type":"boolean","description":"Indicates whether the user can administer cartridges"},"canOperateCartridgeRequests":{"type":"boolean","description":"Indicates whether the user can operate cartridge requests"},"canAdminAndSupervise":{"type":"boolean","description":"Indicates whether the user can administrate and supervise backup software. This is one of the commonly used right."},"canConfigureServer":{"type":"boolean","description":"Indicates whether the user can configure server"},"canAdminJobs":{"type":"boolean","description":"Indicates whether the user can administer jobs"},"canConnectToOtherPlatform":{"type":"boolean","description":"Indicates whether the user can access other hosts"},"canViewBackupFolder":{"type":"boolean","description":"Indicates whether the user can consult backup folder"},"canUseStrategyA":{"type":"boolean","description":"Indicates whether the user can use strategy A"},"canUseStrategyB":{"type":"boolean","description":"Indicates whether the user can use strategy B"},"canUseStrategyC":{"type":"boolean","description":"Indicates whether the user can use strategy C"},"canUseStrategyD":{"type":"boolean","description":"Indicates whether the user can use strategy D"},"canRemoveSnapshots":{"type":"boolean","description":"Indicates whether the user can delete snapshot"},"canAdminSecurityCertificates":{"type":"boolean","description":"Indicates whether the user can administer security certificate"},"canAdminSecurityTemplates":{"type":"boolean","description":"Indicates whether the user can administer security templates"},"canAdminSecurityRules":{"type":"boolean","description":"Indicates whether the user can administer security rules"}},"description":"The profile of the changed user"},"UserGroup":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user group"},"publicId":{"type":"string","description":"Public id of the user group"}},"description":"Group of the user","xml":{"name":"UserGroup"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/users/current-user-password":{"put":{"tags":["Users"],"summary":"Update current user password","description":"Update the current user password given old password and new password","operationId":"updateCurrentUserPassword","requestBody":{"description":"New and old password use to change password","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeInput"}}},"required":true},"responses":{"200":{"description":"Password Successfully modified","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/version-information/rest-api-reference/users.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
