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.eyJ1c2VyX2lkIjoxMzcsInN1cGVyX2FkbWluX2lkIjoxMzYsImV4cCI6MTc1NDU5ODEwMywiaWF0IjoxNzU0NTk2MzAzfQ.qAh_jMIhsMo2ffob34jmUX1ebTXWZdDHSgqjDEsurN8
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.eyJ1c2VyX2lkIjoxMzYsImV4cCI6MTc1NDc2OTEwMywiaWF0IjoxNzU0NTk2MzAzfQ.oJwYLeY9e9oUlRjWXDACnVAjU8qzr-dVHwS2xxWgMDU
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"a82ee60463152cad3a719929559696d5"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 68d37a9f-524e-44f0-8e34-5df2d9085b5a
X-Runtime: 0.013719
Content-Length: 298

Status

200

Body