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.eyJ1c2VyX2lkIjoxMjAsImV4cCI6MTc1NDU5NjQ4MiwiaWF0IjoxNzU0NTk2MzAyfQ.3E_G2XmrYKzYcQE7ifVYPuzGk8qN1ihMC8HVYqE9rHM
Accept: application/json
Content-Type: application/json
Host: example.org
Cookie: 

Route

GET /apis/v4/user_remember_tokens/1f92501c91663a15dc47d929

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.eyJ1c2VyX2lkIjoxMjAsImV4cCI6MTc1NDc2OTEwMiwiaWF0IjoxNzU0NTk2MzAyfQ.s9llFWmxfOCprFXT33m6hug5ySdxGGSzZ2YPU2ZGY48
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"6fb4bb3283e739429bce58e5d9858b28"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 51a21a53-e3e9-407e-8e3e-91fd3d22ff65
X-Runtime: 0.015401
Content-Length: 172

Status

200

Body