Zero TrustZero Trust Lists

Update Zero Trust list

PUT
Updates a configured Zero Trust list.

Path parameters

uuidstringRequired
API Resource UUID tag.
identifierstringRequired

Request

This endpoint expects an object.
name
stringRequired
The name of the list.
description
stringOptional
The description of the list.

Response

This endpoint returns an object
result
objectOptional
PUT
1curl -X PUT https://api.cloudflare.com/client/v4/accounts/699d98642c564d2e855e9661899b7252/gateway/lists/f174e90a-fafe-4643-bbbc-4a0ed4fc8415 \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "Admin Serial Numbers",
6 "description": "The serial numbers for administrators"
7}'
200Updated
1{
2 "result": {
3 "count": 20,
4 "created_at": "2014-01-01T05:20:00.12345Z",
5 "description": "The serial numbers for administrators",
6 "id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
7 "name": "Admin Serial Numbers",
8 "type": "SERIAL",
9 "updated_at": "2014-01-01T05:20:00.12345Z"
10 }
11}