Skip to main content
PATCH
/
api
/
blacklist
/
{id}
Update a Blacklist record
curl --request PATCH \
  --url http://localhost/api/api/blacklist/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "reference_id": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Path Parameters

id
integer
required

A unique integer value identifying this blacklist.

Body

application/json
name
string

Blacklist name.

reference_id
string

Reference ID.

list_name
enum<string>

List name.

Available options:
HIGH RISK,
RESTRICTED

Response

Blacklist record updated successfully

Blacklist object