| DELETE | /admin/v1/user_tokens/register_websocket/{Token} | Delete the provided one time token. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserTokens | form | List<UserTokens> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Status | form | ApiResponseStatus | No | |
| Code | form | int | No | |
| apiVersion | form | string | No | |
| appVersion | form | string | No |
| OK | |
| FAIL | |
| Default |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| ApplicationsId | form | int | No | |
| UsersId | form | int | No | |
| UserTokenActionsId | form | int | No | |
| Token | form | string | No | |
| UsedAt | form | DateTime? | No | |
| ActiveTill | form | DateTime | No | |
| RecordStatusId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /admin/v1/user_tokens/register_websocket/{Token} HTTP/1.1
Host: auth.mepis.si
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"appVersion":"String","userTokens":[{"id":0,"applicationsId":0,"usersId":0,"userTokenActionsId":0,"token":"String","usedAt":"0001-01-01T00:00:00.0000000Z","activeTill":"0001-01-01T00:00:00.0000000Z","recordStatusId":0}],"status":"OK","code":0,"apiVersion":"String"}