Update a smart credential
PUT/api/web/v1/smartcredentials/:id
Update the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Request
Path Parameters
The UUID of the smart credential to be modified.
- application/json
Body
required
Array [
]
The UUID of the Card Digital Id config of this smart credential. It can be specified in either the create or update operations. If not set, the smart credential will not have a Card Digital Id.
The UUID of the Card Holder Digital Id config of this smart credential. It can be specified in either the create or update operations. If not set, the smart credential will not have a Card Holder Digital Id.
The UUID of the Smart Credential Definition that defines this smart credential. It must be specified when the smart credential is created and can be updated for an existing smart credential.
Possible values: [ACTIVE
, INACTIVE
]
The state of the smart credential. Only smart credentials in the ACTIVE state can be used for authentication.
The UUID of the user that owns this smart credential. This value must be specified when the smart credential is created and is read-only after that.
variableValues
object[]
When creating or modifying a smart credential, the variable values specify a list of variable values to be set.
scDefnVariable
object
SC Defn Variables define the details about variables defined in the SC Defn.
The default value of this variable.
A flag indicating if values for this variable should be displayed.
A flag indicating if the initial value for this variable should be generated.
A length value used when generating values for this variable.
The UUID of this SC Defn Variable.
A flag indicating if values for this variable can be modified.
The name of this SC Defn Variable.
A value that specifies the order of this variable with respect to the other variables in the SC Defn.
Optional prompt to be used when prompting for a value for this variable.
A flag indicating if a value is required for this variable.
Possible values: [ALLOWED
, REQUIRED
, NOT_ALLOWED
, NOT_SET
]
A value specifying restrictions on digits appearing in values of this variable.
Possible values: [ALLOWED
, REQUIRED
, NOT_ALLOWED
, NOT_SET
]
A value specifying restrictions on lowercase characters appearing in values of this variable.
A value indicating a maximum for values of this variable. How this is enforced depends on the variable type.
A value indicating a minimum for values of this variable. How this is enforced depends on the variable type.
A value specifying a regex that values of this variable must match.
Possible values: [ALLOWED
, REQUIRED
, NOT_ALLOWED
, NOT_SET
]
A value specifying restrictions on special characters appearing in values of this variable.
Possible values: [ALLOWED
, REQUIRED
, NOT_ALLOWED
, NOT_SET
]
A value specifying restrictions on uppercase characters appearing in values of this variable.
The UUID of the SC Defn that owns this variable definition.
Possible values: [STRING
, BOOLEAN
, INTEGER
, UUID
]
The type of this variable.
Possible values: [GLOBAL
, USER
, NONE
]
A flag indicating if values of this variable must be unique and if so within what scope.
A value that allows a variable to be defined unique in the scope of another variable.
The UUID of the SC Defn Variable that defines the variable.
The variable value.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}