Auth
Get user organizations
Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
Non-standard envelope: This endpoint returns only {"organizations": [.]}, no status or message field.
get/auth/me/organizations
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/auth/me/organizations
- Auth: API key in header api_key
Response
Success
Example response
{
"organizations": [
{
"id": 6190,
"name": "Example Organization",
"users": [
{
"id": 9876,
"sub": "5c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d",
"email": "user@example.com",
"username": "Jane Doe",
"name": "Jane Doe",
"role": "Owner",
"last_login": "2026-05-06T14:32:11Z"
}
],
"created_at": "2026-05-07T09:21:55Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.