Remotehost Docs

Remove an MCP connection's credential

DELETE
/orgs/{orgId}/projects/{projectId}/mcp-connections/{connectionId}/credential

Deletes the connection's credential; sandboxes stop receiving it at their next start. Needs mcp.manage on the project; API keys are refused.

Authorization

bearerAuth
AuthorizationBearer <token>

A RemoteHost API key (rh_sk_...) or a user session token.

In: header

Path Parameters

orgId*string
projectId*string
connectionId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/orgs/string/projects/string/mcp-connections/string/credential"
Empty