Update credentials
Update existing credentials
The credentials to update
expires
integer | null
requiredThe expiration date of these credentials. Automatically set to the expiration date of the certificate |
|||
type
string
requiredThese credentials type
Value
certificate
|
|||
store
object (Certificate And Key Storage)
required
These credentials certificate |
|||
|
|||
name
string
requiredThese credentials identifying name |
|||
_id
string (Internal ID)
Object internal ID |
|||
description
string | null
These credentials description |
|||
triggers
array of object
The notifications to be sent when the credentials expire |
|||
Array [
] |
|||
targets
array of string
On which configuration the credentials are usable |
type
string
requiredThese credentials type
Value
password
|
||
login
string
requiredThese credentials login |
||
password
object (models.secret.SecretString)
required
These credentials password |
||
|
||
name
string
requiredThese credentials identifying name |
||
_id
string (Internal ID)
Object internal ID |
||
description
string | null
These credentials description |
||
expires
integer | null
The expiration date of these credentials |
||
triggers
array of object
The notifications to be sent when the credentials expire |
||
Array [
] |
||
targets
array of string
On which configuration the credentials are usable |
type
string
requiredThese credentials type
Value
raw
|
||
secret
object (models.secret.SecretString)
required
These credentials secret |
||
|
||
name
string
requiredThese credentials identifying name |
||
_id
string (Internal ID)
Object internal ID |
||
description
string | null
These credentials description |
||
expires
integer | null
The expiration date of these credentials |
||
triggers
array of object
The notifications to be sent when the credentials expire |
||
Array [
] |
||
targets
array of string
On which configuration the credentials are usable |
-
200 Credentials successfully updated
application/jsonexpiresinteger | null requiredThe expiration date of these credentials. Automatically set to the expiration date of the certificate
typestring requiredThese credentials type
Valuecertificate
storeobject (Certificate And Key Storage) requiredThese credentials certificate
certificatestring requiredThe PEM-encoded certificate
valuestring requiredThe PEM-encoded private key of the certificate to store
namestring requiredThese credentials identifying name
_idstring (Internal ID)Object internal ID
descriptionstring | nullThese credentials description
triggersarray of objectThe notifications to be sent when the credentials expire
Array [
onCredentialsExpirationarray of string]
targetsarray of stringOn which configuration the credentials are usable
typestring requiredThese credentials type
Valuepassword
loginstring requiredThese credentials login
passwordobject (models.secret.SecretString) requiredThese credentials password
valuestring | nullValue of the secret that will be passed to Horizon
namestring requiredThese credentials identifying name
_idstring (Internal ID)Object internal ID
descriptionstring | nullThese credentials description
expiresinteger | nullThe expiration date of these credentials
triggersarray of objectThe notifications to be sent when the credentials expire
Array [
onCredentialsExpirationarray of string]
targetsarray of stringOn which configuration the credentials are usable
typestring requiredThese credentials type
Valueraw
secretobject (models.secret.SecretString) requiredThese credentials secret
valuestring | nullValue of the secret that will be passed to Horizon
namestring requiredThese credentials identifying name
_idstring (Internal ID)Object internal ID
descriptionstring | nullThese credentials description
expiresinteger | nullThe expiration date of these credentials
triggersarray of objectThe notifications to be sent when the credentials expire
Array [
onCredentialsExpirationarray of string]
targetsarray of stringOn which configuration the credentials are usable
-
400 Unable to update credentials
application/jsonerrorstring requiredThe error code of the problem
ValueCREDENTIALS-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Credentials
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Credentials
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Authentication error
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 principal does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal 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
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revoked
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revoked
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-006
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
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-007
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Provider
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Provider
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-008
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect path
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect path
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-009
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication 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
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
errorstring requiredThe error code of the problem
ValueLIC-002
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-004
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
-
404 Credentials not found
application/jsonerrorstring requiredThe error code of the problem
ValueCREDENTIALS-003
messagestring requiredA short, human-readable summary of the problem type
ValueCredentials not found
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCredentials not found
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Unexpected internal server error
application/jsonerrorstring requiredThe error code of the problem
ValueCREDENTIALS-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
errorstring requiredThe error code of the problem
ValueLIC-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