latestOpenAPI 3.0.02026-08-232861531.0 MB

d3c75c2a2f1d

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}

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