method: /tokenAssignment/set
Example 1:
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"id": "token id",
"attrs":
{
"status": "ACTIVE"
}
} |
Example 2:
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"id": "token id",
"attrs":
{
"pin": "new token pin"
}
} |
Example 3:
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"id": "token id",
"attrs":
{
"expires": "2023-10-10T00:00:00",
"usageLimit": 100
}
} |
Response
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"error": "0",
"message": "Succeeded"
} |