Activate a smart credential
PUT/api/web/v1/smartcredentials/:id/activate
Activate the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Request
Path Parameters
The UUID of the smart credential to be activated.
- application/json
Body
required
additionalUserInfo
object
A map which consists of additional attributes and values to be used for smart credential encoding. Currently the only value that is supported is the value with name "photo" where the value is a Base-64 encoded JPEG or PNG image or a data URL of the form "data:image/<type>;base64,<data>" where <type> is jpeg or png and <data> is a Base-64 encoded JPEG or PNG image.
A map which consists of additional attributes and values to be used for smart credential encoding. Currently the only value that is supported is the value with name "photo" where the value is a Base-64 encoded JPEG or PNG image or a data URL of the form "data:image/
A flag indicating if the activation email should be delivered to the user. If not set, it defaults to false.
A flag indicating if the target is mobile smart credential.
Possible values: [LINK
, QRCODE
]
A list of which activation types (LINK or QRCODE) should use a random password to encrypt the activation information. If the list is null or empty, QRCODE activation will require a password and LINK will not.
Possible values: [LINK
, QRCODE
]
A list of activation types (LINK or QRCODE) to perform. If the list is null or empty, all activation types are performed
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
If either the QR Code URL or the Link URL were password protected, the password needed to unprotect them.
The HTTP version of the link activation URL
The link activation URL
Base-64 encoded activation QR Code
The activation URL encoded into the QR Code
{
"activationPassword": "string",
"linkHttpURL": "string",
"linkURL": "string",
"qrCode": "string",
"qrCodeURL": "string"
}
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": [
{}
]
}