Skip to content

Get Current Tenant Information



POST /api/v1/tenant/resolve

Overview

Get the workspace information of the current token (or change token)

Body Request Parameters

Parameter Name Type Required Description
token string Y owl token
Allow empty: False
Max length: 256

Parameter Additional Notes

Request Example

curl 'https://openapi.truewatch.com/api/v1/tenant/resolve' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw $'{"token": "tux5nQeL8dzXfmgRopNsUiAwJ3H6ylSO"}' \
--compressed

Response

{
    "expiresAt": "",
    "tenantId": "wksp_84c4a0044edc4f878ea88e4517659bda",
    "userId": "tux5nQeL8dzXfmgRopNsUiAwJ3H6ylSO"
}