Skip to content

Set refusal catalog.

POST
/backend/v1/refusal-catalogs

The most recent phrases are used at attack time. Pass an empty list to clear.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"phrases": [
  
  
"string"
  
]
}

Responses

Successful Response

application/json
JSON
{
  
"id": "string",
  
"refusalCatalog": {
  
  
"createdAt": "string",
  
  
"createdBy": "string",
  
  
"id": "string",
  
  
"phrases": [
  
  
  
[
  
  
  
]
  
  
]
  
}
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

Updated at: