MCP Gateway
ApiMcp servers

Delete a server credential

Delete a credential from an MCP server. Verifies the credential belongs to the specified server.

DELETE
/api/v1/servers/{server_id}/credentials/{credential_id}

Path Parameters

server_id*string
Formatuuid
credential_id*string
Formatuuid

Response Body

application/json

curl -X DELETE "https://loading/api/v1/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}