auth

Switch environment

Switches the user's environment between LIVE and SANDBOX and returns a new custom token with the environment claim

post/v1/auth/switch-environment

Request body

environmentstring

"LIVE" or "SANDBOX"

Response

OK

customTokenstring
environmentstring

Changes

No recorded changes to this endpoint across all 7 revisions of this API.