...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "error":0, "result": { "id": "token id" } } |
Example 2: Create a token and assign the token to a user
Code Block | ||||
---|---|---|---|---|
| ||||
{ "attrs": [ "product": { "manufacturerCode":"DN", "productCode":"MT" }, "user": { "domain.name":"domain.com", "loginNam":"john.smith" } "pin": "tokenpin" ] } |
...