The organizations in the caller's scope that do not have rebranding enabled yet, for the picker.
GET
/rebranding/organizations/available
curl \
--request GET 'https://api.your-domain.com/api/rebranding/organizations/available' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 42,
"message": "string",
"data": {
"organizations": [
{
"id": "string",
"logto_id": "string",
"name": "string",
"organization_type": "distributor"
}
]
}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}