Returns information about the currently authenticated user.
This endpoint does not accept any parameters.
GET /api/v1/auth/me
Authorization: Bearer {token}
Returns the user resource and a list of permissions.
{
"data": { /* user resource */ },
"permissions": ["permission 1", "permission 2"]
}
For a full schema, see User Resource.
Status | Description | Reference |
---|---|---|
401 | Unauthorized | Authentication error |