Skip to main content
PATCH
/
api
/
v1
/
settings
/
allow_deny_entries
/
{id}
Update an allow/deny list entry
curl --request PATCH \
  --url https://api.ocean.security/api/v1/settings/allow_deny_entries/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "comment": "<string>"
}
'
{
  "results": {
    "comment": "<string>",
    "created_at": "<string>",
    "created_by": "<string>",
    "id": "<string>",
    "value": "<string>"
  },
  "status": 123
}

Authorizations

X-Api-Key
string
header
required

API key for authentication

Headers

X-Api-Key
string
required

Authentication API Key

Path Parameters

id
string
required

Allow/deny entry id

Body

application/json

Fields to update

comment
string
list
enum<string>
Available options:
allow,
deny
verdict_scope
enum<string>
Available options:
global,
graymail

Response

Updated entry

results
object
status
integer