ApiUsers
Get current user profile
Return the authenticated user's profile including counts of active API keys and service connections.
Authorization
User API Key AuthorizationBearer <token>
User API key (mgw_usr_live_* or mgw_usr_test_*)
In: header
Cookie Parameters
access_token?|
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/users/me"{
"email": "user@example.com",
"name": "string",
"avatar_url": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"role": "owner",
"is_active": true,
"email_verified": true,
"sso_provider": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"last_login_at": "2019-08-24T14:15:22Z",
"api_key_count": 0,
"connection_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Delete a user
Permanently delete a user account and all associated data. Requires email confirmation for safety. Cannot delete yourself or users above your role level. Requires ADMIN or OWNER role.
Get user by ID
Return a specific user with permission hints indicating what actions the current admin can perform on this user. Requires ADMIN or OWNER role.
