Response containing the created token
| name | data type | constraints | description |
|---|---|---|---|
| token | string | Token | |
| data | ApiTokenDataModel | API Token data | |
| messages | array of Message | Messages contained in the response (which should be shown to the user) | |
| responseInfo | ResponseInfo | ||
| inBackground | boolean | required boolean | Whether the job was pushed into the background. |
Example
{
"token" : "...",
"data" : {
"id" : 12345,
"userId" : 12345,
"name" : "...",
"cdate" : 12345,
"expires" : 12345,
"lastUsed" : 12345,
"valid" : true
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"inBackground" : true
}