Skip to content
Skip to Content
Coder Docs

Delete AI Gateway key

DELETE
/api/v2/ai-gateway/keys/{key}

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Path Parameters

key*string

Key ID

Formatuuid

Response Body

No Content

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X DELETE \	"$CODER_URL/api/v2/ai-gateway/keys/{key}" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response204
Empty