Skip to content

Generate User Key

Request

Generates a user-key for the current user. User-keys are included in all api requests to identify the user

Security
bearer-key
Bodyapplication/jsonrequired
descriptionstring(UserToken Description)
Example:"Token A"
POST
/api/v2.0/profile/userKeys
{ "description": "Token A" }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(UserKeyDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "userUuid": "123e4567-e89b-12d3-a456-426655440000", "userKey": "8d541c7d782e4b7891ebf61e864f76cb9af75f17d4394b109f1155e88f3e86bd", "createdAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z", "description": "Token A", "expirationDate": "2019-08-24T14:15:22Z" } }