Apis::V4::Impersonations API

Stop impersonating a user

Parameters

Name Description
access_token JSON Web Token retrieved from the Impersonations endpoint (you can also pass this into the Authorization header)

Response Fields

Name Description
token MH JSON Web Token that will contain a user_id and an expires at
first_name User's first name
last_name User's last name
person_id User's person id
profile_image_url User's profile image
thekey_uid User's UID for TheKey.me

Request

Headers

Version: HTTP/1.0
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0MSwic3VwZXJfYWRtaW5faWQiOjQwLCJleHAiOjE3MDQ0NzQ4NDQsImlhdCI6MTcwNDQ3MzA0NH0.DDc0Ng3kRQVkUljdv2-42zo2oxK9cIQzCztgmcnjb3o
Host: example.org
Cookie: 

Route

DELETE /apis/v4/impersonations

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/json; charset=utf-8
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0MCwiZXhwIjoxNzA0NjQ1ODQ0LCJpYXQiOjE3MDQ0NzMwNDR9.4Nyw5141Vv8StV0M_0c8VJDHLL67PjPuiSQdOczhZH8
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"11a3fb5000a900a8c3e0a0c0811297a3"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f6564835-6f58-43f5-a1c1-5faa9b964d91
X-Runtime: 0.023063
Content-Length: 295

Status

200

Body