Skip to content

Remove the stored credentials permanently and disable AI

DELETE
/v1/settings/ai/credentials
curl --request DELETE \
--url https://beta-api.plune.ai/v1/settings/ai/credentials \
--header 'Authorization: Bearer <token>'

Owner only (AC-20). The ciphertext is deleted without a recovery path. AI is left disabled; connecting again (PUT) starts over from AC-05. A draft already awaiting_decision is unaffected (AC-20).

Removed

No / invalid token or session

A member or a reader asked

Media type application/json
object
error
required
string
Example
{
"error": "project owner only"
}

No provider connected — nothing to remove

Media type application/json
object
error
required
string
Example
{
"error": "AI is not connected"
}

Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over