/filters/organizations - Get available organization filters
Get list of organizations with systems for filtering (requires Support+ role, filtered by RBAC). Returns organization logto_id as the id field for compatibility with GET /systems?organization_id= parameter. Respects RBAC hierarchy - users only see organizations they can access.
GET
/filters/organizations
curl \
--request GET 'https://api.your-domain.com/api/filters/organizations' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 200,
"message": "organization filters retrieved successfully",
"data": {
"organizations": [
{
"id": "ug9v4l0m6mwt",
"name": "Cust3"
},
{
"id": "guwy6opsll17",
"name": "Owner"
}
]
}
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}