Skip to content

Return legacy session compatibility error

GET
/api/admin/sessions/me
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/sessions/me \
--header 'Authorization: Bearer <token>'

Compatibility endpoint for legacy Admin UI clients. The management Worker intentionally returns a legacy_endpoint_not_supported 404 response.

Legacy endpoint compatibility error response.

Media type application/json
object
error
required
string
Allowed values: legacy_endpoint_not_supported
error_description
required
string
error_uri
string
error_details
object
key
additional properties
key
additional properties
Example
{
"error": "legacy_endpoint_not_supported",
"error_description": "This legacy endpoint is not supported."
}