{ "opencollection": "1.0.0", "info": { "name": "Logto API references Account center Organization scopes API", "version": "Cloud" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oidc/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Organization scopes", "type": "folder" }, "items": [ { "info": { "name": "Get organization scopes", "type": "http" }, "http": { "method": "GET", "url": "https://[tenant_id].logto.app/api/organization-scopes", "params": [ { "name": "q", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query", "description": "Page number (starts from 1)." }, { "name": "page_size", "value": "", "type": "query", "description": "Entries per page." } ] }, "docs": "Get organization scopes that match with optional pagination." }, { "info": { "name": "Create an organization scope", "type": "http" }, "http": { "method": "POST", "url": "https://[tenant_id].logto.app/api/organization-scopes", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new organization scope with the given data." }, { "info": { "name": "Get organization scope", "type": "http" }, "http": { "method": "GET", "url": "https://[tenant_id].logto.app/api/organization-scopes/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the organization scope." } ] }, "docs": "Get organization scope details by ID." }, { "info": { "name": "Update organization scope", "type": "http" }, "http": { "method": "PATCH", "url": "https://[tenant_id].logto.app/api/organization-scopes/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the organization scope." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update organization scope details by ID with the given data." }, { "info": { "name": "Delete organization scope", "type": "http" }, "http": { "method": "DELETE", "url": "https://[tenant_id].logto.app/api/organization-scopes/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the organization scope." } ] }, "docs": "Delete organization scope by ID." } ] } ], "bundled": true }