Skip to main content
POST
/
api
/
whitelist
{
  "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

Body

application/json

Whitelist creation request payload

rules
integer[]
required

List of rule IDs

bucket
string
required

Bucket identifier

subject
string
required

Subject identifier

Response

Whitelist record created 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