I P Allowlist (beta)

Update IP Allowlist Configuration

PATCH
/api/v2/account/ip-allowlist

Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Request Body

application/json

sessionAllowlistEnabled?boolean

Enable or disable session allowlist

apiTokenAllowlistEnabled?boolean

Enable or disable API token allowlist

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v2/account/ip-allowlist" \  -H "Content-Type: application/json" \  -d '{}'
{  "entries": [    {      "_createdAt": 0,      "ipAddress": "203.0.113.0/24",      "description": "Office network",      "_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",      "_updatedAt": 6,      "_createdByMemberId": "507f1f77bcf86cd799439011"    },    {      "_createdAt": 0,      "ipAddress": "203.0.113.0/24",      "description": "Office network",      "_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",      "_updatedAt": 6,      "_createdByMemberId": "507f1f77bcf86cd799439011"    }  ],  "apiTokenAllowlistEnabled": false,  "_links": {    "self": {      "href": "href",      "type": "type"    }  },  "sessionAllowlistEnabled": true,  "totalCount": 42}