{ "opencollection": "1.0.0", "info": { "name": "Stytch B2B Authentication Application B2B RBAC API", "version": "2.0.0" }, "items": [ { "info": { "name": "B2B RBAC", "type": "folder" }, "items": [ { "info": { "name": "Policy", "type": "http" }, "http": { "method": "GET", "url": "https://api.stytch.com/v1/b2b/rbac/policy" }, "docs": "Get the active RBAC Policy for your current Stytch Project. An RBAC Policy is the canonical document that stores all defined Resources and Roles within your RBAC permissioning model.\n\nWhen using the backend SDKs, the RBAC Policy will be cached to allow for local evaluations, eliminating the need for an extra request to Stytch. The policy will be refreshed if an authorization check is requested and the RBAC policy was last updated more than 5 minutes ago.\n\nResources and Roles can be created and m" }, { "info": { "name": "Getorgpolicy", "type": "http" }, "http": { "method": "GET", "url": "https://api.stytch.com/v1/b2b/rbac/organizations/:organization_id", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience." } ] }, "docs": "\nThe organization RBAC policy feature is currently in private beta and must be enabled for your Workspace. Please contact Stytch support at support@stytch.com to request access.\n\nGet the active RBAC Policy for a specific Organization within your Stytch Project. An Organization RBAC Policy contains the roles that have been defined specifically for that organization, allowing for organization-specific permissioning models.\n\nThis endpoint returns the organization-scoped roles that supplement the pr" }, { "info": { "name": "Setorgpolicy", "type": "http" }, "http": { "method": "PUT", "url": "https://api.stytch.com/v1/b2b/rbac/organizations/:organization_id", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience." } ], "body": { "type": "json", "data": "{}" } }, "docs": "\nThe organization RBAC policy feature is currently in private beta and must be enabled for your Workspace. Please contact Stytch support at support@stytch.com to request access.\n\nSet the RBAC Policy for a specific Organization within your Stytch Project. An Organization RBAC Policy allows you to define roles that are specific to that organization, providing fine-grained control over permissions at the organization level.\n\nThis endpoint allows you to create, update, or replace the organization-sc" } ] } ], "bundled": true }