• Document Up to Date

Create Persistent Login

Creates a persistent login, used for remember me functionality.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /crafter-profile, please prefix the API URLs with this context.

HTTP Verb | POST
URL | /api/1/authentication//persistent_login/create
Response Formats | JSON

Parameters

Name
Type
Required
Description
accessTokenId

String


The access token ID of the application
making the call
profileId
String
The ID of the profile

Example

Request

POST .../api/1/authentication/persistent_login/create
accessTokenId=e8f5170c-877b-416f-b70f-4b09772f8e2d
profileId=5925a68def86951f895cf497

Response

Status 200 OK

{
  "tenant": "default",
  "profileId": "5925a68def86951f895cf497",
  "token": "adf88dca-4960-474c-be63-c8c5e3bedaa7",
  "timestamp": 1495665332589,
  "id": "b68c0013-d7b2-4004-8463-d7ba03e15d94"
}

Responses

Status
Location
Response Body
200

See example above.
500

{ "message" : "Internal server error" }