Apis::V4::UserRememberTokens API

get user remember token

Show details about the user corresponding to the given remember token. Typically this would be used to preview the user that might be merged (see Apis::V4::UserRememberTokens::Merge). The legacy system used the term "leader_token", but since API actually stores that value in a column named "remember_token" it is referred to by that term here.

Parameters

Name Description
id The unique identifier called a "remember token" (typically received through the invite email link)

Response Fields

Name Description type
data primary JSON API payload
data[attributes][id] A unique identifier called a "remember token" that corresponds to a user. String
data[attributes][user_id] The id of the user that the remember token belongs to. String
data[attributes][username] The username (email) of the user that the remember token belongs to. String
data[attributes][full_name] The full name of the user that the remember token belongs to. String

Request

Headers

Version: HTTP/1.0
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMjAsImV4cCI6MTcwNDQ3MzIzMCwiaWF0IjoxNzA0NDczMDUwfQ.0N37aiGqfE-9e1HYYwsC80AMoqkHHGTWhw4bxq9tQhU
Accept: application/json
Content-Type: application/json
Host: example.org
Cookie: 

Route

GET /apis/v4/user_remember_tokens/e68b2e100cc4b09ccf995fa2

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMjAsImV4cCI6MTcwNDY0NTg1MCwiaWF0IjoxNzA0NDczMDUwfQ.6mI6pquwlIORE3MGQjfK2Bs-zSDyYo2CFdAT2OFVo1I
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"80f719e46d462143b2f96c7b4b02d41a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 70cb528e-a68c-4d52-b2b3-696290e192b6
X-Runtime: 0.021555
Content-Length: 172

Status

200

Body