palbaseDocs

Palbase ai · API

DELETE/ai/endpoints/{name}/user-credentials/{user_id}

Delete a per-user sealed MCP credential

Revoke and delete a stored per-user credential for an MCP endpoint.

Called by your server, with the project's secret key.

Path

namestring · requiredMCP endpoint name
user_idstring · requiredApp user identifier
curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/endpoints/<name>/user-credentials/<user_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Credential deleted

400The request is malformed, or names what this module does not offer (the error names which)

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

404No such response, job or provider in this project

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation DeleteMCPUserCredential of ai's contract.