/v1/auth/me
GET
/v1/auth/me
const url = 'http://localhost:8787/v1/auth/me';const options = {method: 'GET', headers: {cookie: 'be_session=<be_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8787/v1/auth/me \ --cookie be_session=<be_session>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The caller’s own session claims.
Media typeapplication/json
object
role
required
string
tenantId
required
string format: uuid
userId
required
string format: uuid
Examplegenerated
{ "role": "example", "tenantId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "userId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Missing, tampered, or expired session cookie.
Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
number
title
required
string
type
required
string
Example
{ "code": "missing_session"}