Skip to main content
PUT
Deprecated. Use the Providers API instead. Existing virtual keys continue to work — no code changes needed.

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

slug
string
required

Body

application/json
name
string
key
string
note
string | null
deploymentConfig
object[]
usage_limits
object
Example:
secret_mappings
object[]

Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "model_config." (e.g. "model_config.awsSecretAccessKey"). Each target_field must be unique.

Response

Successful response

The response is of type object.

Last modified on March 25, 2026