Delete a Workspace Connection
const url = 'https://api.agentaab.com/api/app/example/workflow/connections/example/';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.agentaab.com/api/app/example/workflow/connections/example/ \ --header 'Authorization: Bearer <token>'Mark the Connection deleted and make its credential reference unavailable to Workflow execution. Repeating a completed delete returns the same redacted deleted state.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The redacted deleted Connection summary.
object
Redacted Workspace Connection state. It contains a server-managed reference and sanitized capabilities, never private credential material.
object
Opaque server-managed reference used by materialized v1 Tool bindings.
object
Bounded provider configuration with credential-shaped fields forbidden.
object
Sanitized bounded capability marker or MCP Tool manifest from the last successful test.
object
Example
{ "connection": { "scope": { "kind": "creator" }, "provider": "web_search", "credential_mode": "bearer", "status": "active", "last_error_code": "workspace_connection_test_required" }}The creator session is missing, invalid, expired, or does not have a verified email.
object
Example
{ "code": "creator_session_required"}A public Agent Business runtime credential cannot access creator control-plane APIs.
object
Example
{ "code": "runtime_token_not_allowed"}The Workflow or Connection is unavailable or not mutable by this caller.
The Agent Business is not a Workflow, the creator identity conflicts, or a concurrent non-delete Connection mutation won.
An unexpected Workspace Connection failure was sanitized before returning it.
object
Example
{ "code": "workspace_connection_failed"}The configured creator identity service failed while verifying the session.
object
Example
{ "code": "creator_session_verification_failed"}Creator auth, control-plane storage, mutations, or authoritative Connection storage is unavailable.