Stop sharing an app connection with a workspace, or take back one API key's grant [write]
Changed onapp:<slug> only (422 not_shareable otherwise); the same fields as sharing, in the query. Without api_key, workspace's sessions lose your connection of that app at once, as DELETE /universes/{slug}/connections/{id}. With api_key (a key id of the request's workspace, which workspace must name), that key can no longer call through it, as DELETE /connectors/connections/{id}/grants; all_api_keys=true takes back the grant to every key of that workspace. The connection itself stays connected. connection_id when you have several (else 409 connection_required); a workspace owner or admin may name another member's connection shared with workspace. 404 when it was not shared there. A workspace key is 403 person_required.
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/plugins/{name}/share
- AuthHTTP bearer
Path parameters
Query parameters
The workspace slug it is shared with
The API key id it was granted to, instead of the whole workspace
true: the grant to every API key of the workspace
Which connection of that app
Response
No longer shared
Changes
- info
endpoint added
- info