Skip to main content

Cancel Signature

Using this API, transaction can be cancelled for the given user.

Resource Informations

NameValue
Requires authentication?Yes
Rate limited?No

Request

Request headers

KeyValue
AuthorizationBearer token
Content-Typeapplication/json

HTTP request URL for SSMS

DELETE https://{tenantId}.{hostname}/digitanium/v4/users/signature/{userId}

HTTP request URL for SHIFT

DELETE https://{hostname}/auth/realms/{tenantId}/v3_user/cancelsignature/{userId}
note

At this moment, this API is applicable only for SSMS based installations.

note

API requests must be made over https. Calls made over plain http will fail.

Parameters

No parameter fields are required.

Request body(*Required)

Field NameTypeDescription
*deviceIdStringDeviceId of the user in which transaction has to be cancelled.
*transactionIdStringUnique UUID, which characterizes this transaction.

Sample Request

{
"deviceId": [
"-1"
],
"transactionId": "demo"
}

Response

Field NameTypeDescription
messageStringMessage explains result of the API call. Refer Response status Information for details.
statusStringThe status of the API call. Refer Response status Information for details.
subSystemIntegersubSystem categorizes the type of API that has been called. Refer Subsystem details for details.
dataArrayList of all details for the given userId.
deviceIdStringDevice Id of the device created the signature
transactionIdStringTransaction UUID provided during request
userIdStringUnique Username
cancelResultStringcategorizes the type of result. Refer Result Code Information for details.

Sample Response

{
"subSystem": 5,
"status": "OK",
"message": "Transaction cancelled successfully",
"data": [
{
"deviceId": "DEVICE_ID",
"userId": "USER_NAME",
"transactionId": "TRANSACTION_ID",
"cancelResult": "TRANSACTION_DISCARDED_FROM_CLIENT"
}
]
}

Result Code Information

ResultCodeDescription
TRANSACTION_DISCARDED_FROM_CLIENTThe transaction was already sent to client. It will be discarded, when the result is available.

Response Status Information

Status CodeStatusMessage
200OKTransaction cancelled successfully
400BAD_REQUESTUsername should not be null or empty
401UnauthorizedHTTP 401 Unauthorized
404USER_NOT_FOUNDUser does not exist