Levain LabsLevain Labs
API ReferenceBYOK

Delete Provider Key

Remove a BYOK key by ID.

DELETE
/api/v1/byok/{key_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

key_id*string
Formatuuid

Header Parameters

X-API-Key?|

Response Body

application/json

application/json

curl -X DELETE "https://api.levainlabs.com/api/v1/byok/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}