Update an existing account
Update an existing account
The account to update
id
string (Internal ID)
requiredObject internal ID |
||
type
string
requiredThe type of the account
Value
local
|
||
identifier
string | null
The account's identifier |
||
description
string | null
The account's description |
||
permissions
array of objects | null (Permission)
List of the principal's permissions |
||
Array [
] |
||
roles
array of string | null
List of the principal's roles |
||
expires
string | null
The account's expiration date |
||
creationDate
string | null
The account's creation date |
||
lastAuthentication
string | null
The account's last authentication time |
||
lastModification
string | null
The account's last modification time |
id
string (Internal ID)
requiredObject internal ID |
||
type
string
requiredThe type of the account
Value
x509
|
||
identifier
string | null
The identifier for the account. It must be a Distinguished Name |
||
description
string | null
The account's description |
||
permissions
array of objects | null (Permission)
List of the principal's permissions |
||
Array [
] |
||
roles
array of string | null
List of the principal's roles |
||
creationDate
string | null
The account's creation date |
||
lastAuthentication
string | null
The account's last authentication time |
||
lastModification
string | null
The account's last modification time |
-
200 Account successfully updated
application/jsonidstring (Internal ID) requiredObject internal ID
typestring requiredThe type of the account
Valuelocal
identifierstring | nullThe account's identifier
descriptionstring | nullThe account's description
permissionsarray of objects | null (Permission)List of the principal's permissions
Array [
valuestring requiredA permission string that give rights on specific operations
]
rolesarray of string | nullList of the principal's roles
expiresstring | nullThe account's expiration date
creationDatestring | nullThe account's creation date
lastAuthenticationstring | nullThe account's last authentication time
lastModificationstring | nullThe account's last modification time
idstring (Internal ID) requiredObject internal ID
typestring requiredThe type of the account
Valuex509
identifierstring | nullThe identifier for the account. It must be a Distinguished Name
descriptionstring | nullThe account's description
permissionsarray of objects | null (Permission)List of the principal's permissions
Array [
valuestring requiredA permission string that give rights on specific operations
]
rolesarray of string | nullList of the principal's roles
creationDatestring | nullThe account's creation date
lastAuthenticationstring | nullThe account's last authentication time
lastModificationstring | nullThe account's last modification time
-
400 Bad Request
application/jsonerrorstring requiredThe error code of the problem
ValueACCOUNT-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Account
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Account
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Unauthorized request
application/jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or account does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or account does not exist
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trusted
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusted
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/jsonerrorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-PERM-001
messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privileges
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privileges
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
404 Not Found
application/jsonerrorstring requiredThe error code of the problem
ValueACCOUNT-003
messagestring requiredA short, human-readable summary of the problem type
ValueAccount not found
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueAccount not found
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/jsonerrorstring requiredThe error code of the problem
ValueACCOUNT-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807