Skip to main content
PATCH
/
api
/
whitelist
/
{id}
{
  "id": 123,
  "rules": [
    123
  ],
  "bucket": "<string>",
  "subject": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": 123,
  "modified_by": 123
}

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 whitelist.

Body

application/json

Whitelist modification request payload

rules
integer[]

List of rule IDs

bucket
string

Bucket identifier

subject
string

Subject identifier

Response

Whitelist record updated successfully

Whitelist object with all details

id
integer
required

Whitelist record ID

rules
integer[]

List of rule IDs

bucket
string

Bucket identifier

subject
string

Subject identifier

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

created_by
integer

ID of user who created the record

modified_by
integer

ID of user who last modified the record