Skip to main content
PATCH
Update Guardrail

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-Guardrail
string
required

The guardrail name

Example:

"My Guardrail"

Body

application/json
name
string
required

The guardrail name

Example:

"My Guardrail"

description
string

Optional description of the guardrail

Example:

"Guardrail for production chatbot"

input
GuardrailsDetectorsObject · object

Detector configuration applied to input/prompt text

output
GuardrailsDetectorsObject · object

Detector configuration applied to output/response text

Response

200 - application/json

Successful Response

message
string
Example:

"Guardrail details updated successfully"

data
GuardrailResponseObject · object