Set the app access of your Organization
Replace which Applications and MCP clients the users of your Organization can sign in to. Only an Organization owner can set it. Sign-in and refresh apply the new setting from their next request.
bearerAuthAuthorizationBearer <token>application/json- body
The Applications and MCP clients that the users of an Organization can sign in to. The decision for a listed client applies first. unlisted applies to every other client.
clients*array<>unlisted*apps.UnlistedAppAccessWhat happens to an Application that the Organization did not list. allow_reviewed allows Applications that Spiral reviewed. block blocks all of them.
"allow_reviewed""block"Success
application/json- response
The Applications and MCP clients that the users of an Organization can sign in to. The decision for a listed client applies first. unlisted applies to every other client.
clients*array<>unlisted*apps.UnlistedAppAccessWhat happens to an Application that the Organization did not list. allow_reviewed allows Applications that Spiral reviewed. block blocks all of them.
"allow_reviewed""block"curl -X PUT 'https://api.spiraldb.dev/api/apps/organization-access' \ -H 'Content-Type: application/json' \ -d '{ "clients": [ { "clientId": "string", "decision": "allow" } ], "unlisted": "allow_reviewed"}'{ "clients": [ { "clientId": "string", "decision": "allow" } ], "unlisted": "allow_reviewed"}