Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Remove a provider's key file (the provider then shows Missing)

DELETE
/v1/studio/admin/provider-keys/{key_secret}
curl --request DELETE \
--url http://localhost:8300/v1/studio/admin/provider-keys/example \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

. Admin only (403). Studio asks pipelines.providers.key.write with op: remove (5 s, else 503); pipelines deletes the file of that name in its first key folder only (missing is fine). The answer is the status after it: found stays true when a later key folder still has a file of that name. 404 malformed name; 409 not writable.

key_secret
required
string

The status after removal

Media typeapplication/json

A key file’s status (never the key)

object
key_secret
required
string
path
required

Where the admin puts it, as the deployment sees it

string
found
required

A regular file that is not empty

boolean
writable
required

The deployment lets the admin save keys here (pipelines’ first key folder is a writable directory); false: keys are set in files only

boolean

Example

{
"path": "deploy/secrets/providers/deepseek"
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Valid token without the admin role: “admin role required”

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}