auth

Get subaccount access token

This endpoint allows user to receive access token of another user that can be used to impersonate their account and access luma services. It can only be invoked by an access token with apiUser role, generated with a client_id and a client_secret via POST /api/v2/auth/token.

put/auth/token/{userId}

Request

Path parameters

userIdstring required

The user id for which an impersonated token will be returned.

Request body

expires_innumber

Seconds for the token to expire.

Response

Returns a JWT token that can be used as a Bearer token.

access_tokenstring required
token_type'Bearer' required

Changes

No recorded changes to this operation across all 6 revisions of this API.