GetMe
GET
/api/v1/me
const url = 'https://example.com/api/v1/me';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/meResponses
Section titled “ Responses ”OK
Media typeapplication/json
object
user
required
object
id
required
string format: uuid
email
required
null | string
displayName
required
null | string
isPlatformAdmin
required
boolean
locale
required
null | string
lastTenantSlug
required
null | string
tenants
required
Array<object>
object
id
required
string format: uuid
slug
required
string
name
required
string
defaultLocale
required
null | string
accentColor
required
null | string
logoUrl
required
null | string
status
required
suspensionCase
required
null | string format: uuid
Example
{ "tenants": [ { "status": "Active" } ]}