Skip to content
Start here

Resource Tagging

List tagged resources
resource_tagging.list(ResourceTaggingListParams**kwargs) -> SyncCursorPaginationAfter[ResourceTaggingListResponse]
GET/accounts/{account_id}/tags/resources
ModelsExpand Collapse

Response for access_application resources

One of the following:
class ResourceTaggingTaggedResourceObjectAccessApplication:

Response for access_application resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application"]
class ResourceTaggingTaggedResourceObjectAccessApplicationPolicy:

Response for access_application_policy resources

id: str

Identifies the unique resource.

access_application_id: str

Access application ID is required only for access_application_policy resources

formatuuid
etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application_policy"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectAccessGroup:

Response for access_group resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_group"]
class ResourceTaggingTaggedResourceObjectAccount:

Response for account resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["account"]
class ResourceTaggingTaggedResourceObjectAIGateway:

Response for ai_gateway resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["ai_gateway"]
class ResourceTaggingTaggedResourceObjectAlertingPolicy:

Response for alerting_policy resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_policy"]
class ResourceTaggingTaggedResourceObjectAlertingWebhook:

Response for alerting_webhook resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_webhook"]
class ResourceTaggingTaggedResourceObjectAPIGatewayOperation:

Response for api_gateway_operation resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["api_gateway_operation"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCloudflaredTunnel:

Response for cloudflared_tunnel resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["cloudflared_tunnel"]
class ResourceTaggingTaggedResourceObjectCustomCertificate:

Response for custom_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCustomHostname:

Response for custom_hostname resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_hostname"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectD1Database:

Response for d1_database resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["d1_database"]
class ResourceTaggingTaggedResourceObjectDNSRecord:

Response for dns_record resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["dns_record"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectDurableObjectNamespace:

Response for durable_object_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["durable_object_namespace"]
class ResourceTaggingTaggedResourceObjectGatewayList:

Response for gateway_list resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_list"]
class ResourceTaggingTaggedResourceObjectGatewayRule:

Response for gateway_rule resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_rule"]
class ResourceTaggingTaggedResourceObjectImage:

Response for image resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["image"]
class ResourceTaggingTaggedResourceObjectKVNamespace:

Response for kv_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["kv_namespace"]
class ResourceTaggingTaggedResourceObjectManagedClientCertificate:

Response for managed_client_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["managed_client_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectQueue:

Response for queue resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["queue"]
class ResourceTaggingTaggedResourceObjectR2Bucket:

Response for r2_bucket resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["r2_bucket"]
class ResourceTaggingTaggedResourceObjectResourceShare:

Response for resource_share resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["resource_share"]
class ResourceTaggingTaggedResourceObjectStreamLiveInput:

Response for stream_live_input resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_live_input"]
class ResourceTaggingTaggedResourceObjectStreamVideo:

Response for stream_video resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_video"]
class ResourceTaggingTaggedResourceObjectWorker:

Response for worker resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker"]
class ResourceTaggingTaggedResourceObjectWorkerVersion:

Response for worker_version resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker_version"]
worker_id: str

Worker ID is required only for worker_version resources

class ResourceTaggingTaggedResourceObjectZone:

Response for zone resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["zone"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32

Resource TaggingAccount Tags

Get tags for an account-level resource
resource_tagging.account_tags.get(AccountTagGetParams**kwargs) -> AccountTagGetResponse
GET/accounts/{account_id}/tags
Set tags for an account-level resource
resource_tagging.account_tags.update(AccountTagUpdateParams**kwargs) -> AccountTagUpdateResponse
PUT/accounts/{account_id}/tags
Delete tags from an account-level resource
resource_tagging.account_tags.delete(AccountTagDeleteParams**kwargs)
DELETE/accounts/{account_id}/tags
ModelsExpand Collapse

Response for access_application resources

One of the following:
class ResourceTaggingTaggedResourceObjectAccessApplication:

Response for access_application resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application"]
class ResourceTaggingTaggedResourceObjectAccessApplicationPolicy:

Response for access_application_policy resources

id: str

Identifies the unique resource.

access_application_id: str

Access application ID is required only for access_application_policy resources

formatuuid
etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application_policy"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectAccessGroup:

Response for access_group resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_group"]
class ResourceTaggingTaggedResourceObjectAccount:

Response for account resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["account"]
class ResourceTaggingTaggedResourceObjectAIGateway:

Response for ai_gateway resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["ai_gateway"]
class ResourceTaggingTaggedResourceObjectAlertingPolicy:

Response for alerting_policy resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_policy"]
class ResourceTaggingTaggedResourceObjectAlertingWebhook:

Response for alerting_webhook resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_webhook"]
class ResourceTaggingTaggedResourceObjectAPIGatewayOperation:

Response for api_gateway_operation resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["api_gateway_operation"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCloudflaredTunnel:

Response for cloudflared_tunnel resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["cloudflared_tunnel"]
class ResourceTaggingTaggedResourceObjectCustomCertificate:

Response for custom_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCustomHostname:

Response for custom_hostname resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_hostname"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectD1Database:

Response for d1_database resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["d1_database"]
class ResourceTaggingTaggedResourceObjectDNSRecord:

Response for dns_record resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["dns_record"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectDurableObjectNamespace:

Response for durable_object_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["durable_object_namespace"]
class ResourceTaggingTaggedResourceObjectGatewayList:

Response for gateway_list resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_list"]
class ResourceTaggingTaggedResourceObjectGatewayRule:

Response for gateway_rule resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_rule"]
class ResourceTaggingTaggedResourceObjectImage:

Response for image resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["image"]
class ResourceTaggingTaggedResourceObjectKVNamespace:

Response for kv_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["kv_namespace"]
class ResourceTaggingTaggedResourceObjectManagedClientCertificate:

Response for managed_client_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["managed_client_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectQueue:

Response for queue resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["queue"]
class ResourceTaggingTaggedResourceObjectR2Bucket:

Response for r2_bucket resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["r2_bucket"]
class ResourceTaggingTaggedResourceObjectResourceShare:

Response for resource_share resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["resource_share"]
class ResourceTaggingTaggedResourceObjectStreamLiveInput:

Response for stream_live_input resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_live_input"]
class ResourceTaggingTaggedResourceObjectStreamVideo:

Response for stream_video resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_video"]
class ResourceTaggingTaggedResourceObjectWorker:

Response for worker resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker"]
class ResourceTaggingTaggedResourceObjectWorkerVersion:

Response for worker_version resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker_version"]
worker_id: str

Worker ID is required only for worker_version resources

class ResourceTaggingTaggedResourceObjectZone:

Response for zone resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["zone"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32

Response for access_application resources

One of the following:
class ResourceTaggingTaggedResourceObjectAccessApplication:

Response for access_application resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application"]
class ResourceTaggingTaggedResourceObjectAccessApplicationPolicy:

Response for access_application_policy resources

id: str

Identifies the unique resource.

access_application_id: str

Access application ID is required only for access_application_policy resources

formatuuid
etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application_policy"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectAccessGroup:

Response for access_group resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_group"]
class ResourceTaggingTaggedResourceObjectAccount:

Response for account resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["account"]
class ResourceTaggingTaggedResourceObjectAIGateway:

Response for ai_gateway resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["ai_gateway"]
class ResourceTaggingTaggedResourceObjectAlertingPolicy:

Response for alerting_policy resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_policy"]
class ResourceTaggingTaggedResourceObjectAlertingWebhook:

Response for alerting_webhook resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_webhook"]
class ResourceTaggingTaggedResourceObjectAPIGatewayOperation:

Response for api_gateway_operation resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["api_gateway_operation"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCloudflaredTunnel:

Response for cloudflared_tunnel resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["cloudflared_tunnel"]
class ResourceTaggingTaggedResourceObjectCustomCertificate:

Response for custom_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCustomHostname:

Response for custom_hostname resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_hostname"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectD1Database:

Response for d1_database resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["d1_database"]
class ResourceTaggingTaggedResourceObjectDNSRecord:

Response for dns_record resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["dns_record"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectDurableObjectNamespace:

Response for durable_object_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["durable_object_namespace"]
class ResourceTaggingTaggedResourceObjectGatewayList:

Response for gateway_list resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_list"]
class ResourceTaggingTaggedResourceObjectGatewayRule:

Response for gateway_rule resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_rule"]
class ResourceTaggingTaggedResourceObjectImage:

Response for image resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["image"]
class ResourceTaggingTaggedResourceObjectKVNamespace:

Response for kv_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["kv_namespace"]
class ResourceTaggingTaggedResourceObjectManagedClientCertificate:

Response for managed_client_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["managed_client_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectQueue:

Response for queue resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["queue"]
class ResourceTaggingTaggedResourceObjectR2Bucket:

Response for r2_bucket resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["r2_bucket"]
class ResourceTaggingTaggedResourceObjectResourceShare:

Response for resource_share resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["resource_share"]
class ResourceTaggingTaggedResourceObjectStreamLiveInput:

Response for stream_live_input resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_live_input"]
class ResourceTaggingTaggedResourceObjectStreamVideo:

Response for stream_video resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_video"]
class ResourceTaggingTaggedResourceObjectWorker:

Response for worker resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker"]
class ResourceTaggingTaggedResourceObjectWorkerVersion:

Response for worker_version resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker_version"]
worker_id: str

Worker ID is required only for worker_version resources

class ResourceTaggingTaggedResourceObjectZone:

Response for zone resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["zone"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32

Resource TaggingZone Tags

Get tags for a zone-level resource
resource_tagging.zone_tags.get(ZoneTagGetParams**kwargs) -> ZoneTagGetResponse
GET/zones/{zone_id}/tags
Set tags for a zone-level resource
resource_tagging.zone_tags.update(ZoneTagUpdateParams**kwargs) -> ZoneTagUpdateResponse
PUT/zones/{zone_id}/tags
Delete tags from a zone-level resource
resource_tagging.zone_tags.delete(ZoneTagDeleteParams**kwargs)
DELETE/zones/{zone_id}/tags
ModelsExpand Collapse

Response for access_application resources

One of the following:
class ResourceTaggingTaggedResourceObjectAccessApplication:

Response for access_application resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application"]
class ResourceTaggingTaggedResourceObjectAccessApplicationPolicy:

Response for access_application_policy resources

id: str

Identifies the unique resource.

access_application_id: str

Access application ID is required only for access_application_policy resources

formatuuid
etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application_policy"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectAccessGroup:

Response for access_group resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_group"]
class ResourceTaggingTaggedResourceObjectAccount:

Response for account resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["account"]
class ResourceTaggingTaggedResourceObjectAIGateway:

Response for ai_gateway resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["ai_gateway"]
class ResourceTaggingTaggedResourceObjectAlertingPolicy:

Response for alerting_policy resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_policy"]
class ResourceTaggingTaggedResourceObjectAlertingWebhook:

Response for alerting_webhook resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_webhook"]
class ResourceTaggingTaggedResourceObjectAPIGatewayOperation:

Response for api_gateway_operation resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["api_gateway_operation"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCloudflaredTunnel:

Response for cloudflared_tunnel resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["cloudflared_tunnel"]
class ResourceTaggingTaggedResourceObjectCustomCertificate:

Response for custom_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCustomHostname:

Response for custom_hostname resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_hostname"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectD1Database:

Response for d1_database resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["d1_database"]
class ResourceTaggingTaggedResourceObjectDNSRecord:

Response for dns_record resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["dns_record"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectDurableObjectNamespace:

Response for durable_object_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["durable_object_namespace"]
class ResourceTaggingTaggedResourceObjectGatewayList:

Response for gateway_list resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_list"]
class ResourceTaggingTaggedResourceObjectGatewayRule:

Response for gateway_rule resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_rule"]
class ResourceTaggingTaggedResourceObjectImage:

Response for image resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["image"]
class ResourceTaggingTaggedResourceObjectKVNamespace:

Response for kv_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["kv_namespace"]
class ResourceTaggingTaggedResourceObjectManagedClientCertificate:

Response for managed_client_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["managed_client_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectQueue:

Response for queue resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["queue"]
class ResourceTaggingTaggedResourceObjectR2Bucket:

Response for r2_bucket resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["r2_bucket"]
class ResourceTaggingTaggedResourceObjectResourceShare:

Response for resource_share resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["resource_share"]
class ResourceTaggingTaggedResourceObjectStreamLiveInput:

Response for stream_live_input resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_live_input"]
class ResourceTaggingTaggedResourceObjectStreamVideo:

Response for stream_video resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_video"]
class ResourceTaggingTaggedResourceObjectWorker:

Response for worker resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker"]
class ResourceTaggingTaggedResourceObjectWorkerVersion:

Response for worker_version resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker_version"]
worker_id: str

Worker ID is required only for worker_version resources

class ResourceTaggingTaggedResourceObjectZone:

Response for zone resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["zone"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32

Response for access_application resources

One of the following:
class ResourceTaggingTaggedResourceObjectAccessApplication:

Response for access_application resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application"]
class ResourceTaggingTaggedResourceObjectAccessApplicationPolicy:

Response for access_application_policy resources

id: str

Identifies the unique resource.

access_application_id: str

Access application ID is required only for access_application_policy resources

formatuuid
etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_application_policy"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectAccessGroup:

Response for access_group resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["access_group"]
class ResourceTaggingTaggedResourceObjectAccount:

Response for account resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["account"]
class ResourceTaggingTaggedResourceObjectAIGateway:

Response for ai_gateway resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["ai_gateway"]
class ResourceTaggingTaggedResourceObjectAlertingPolicy:

Response for alerting_policy resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_policy"]
class ResourceTaggingTaggedResourceObjectAlertingWebhook:

Response for alerting_webhook resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["alerting_webhook"]
class ResourceTaggingTaggedResourceObjectAPIGatewayOperation:

Response for api_gateway_operation resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["api_gateway_operation"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCloudflaredTunnel:

Response for cloudflared_tunnel resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["cloudflared_tunnel"]
class ResourceTaggingTaggedResourceObjectCustomCertificate:

Response for custom_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectCustomHostname:

Response for custom_hostname resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["custom_hostname"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectD1Database:

Response for d1_database resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["d1_database"]
class ResourceTaggingTaggedResourceObjectDNSRecord:

Response for dns_record resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["dns_record"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectDurableObjectNamespace:

Response for durable_object_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["durable_object_namespace"]
class ResourceTaggingTaggedResourceObjectGatewayList:

Response for gateway_list resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_list"]
class ResourceTaggingTaggedResourceObjectGatewayRule:

Response for gateway_rule resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["gateway_rule"]
class ResourceTaggingTaggedResourceObjectImage:

Response for image resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["image"]
class ResourceTaggingTaggedResourceObjectKVNamespace:

Response for kv_namespace resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["kv_namespace"]
class ResourceTaggingTaggedResourceObjectManagedClientCertificate:

Response for managed_client_certificate resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["managed_client_certificate"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32
class ResourceTaggingTaggedResourceObjectQueue:

Response for queue resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["queue"]
class ResourceTaggingTaggedResourceObjectR2Bucket:

Response for r2_bucket resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["r2_bucket"]
class ResourceTaggingTaggedResourceObjectResourceShare:

Response for resource_share resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["resource_share"]
class ResourceTaggingTaggedResourceObjectStreamLiveInput:

Response for stream_live_input resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_live_input"]
class ResourceTaggingTaggedResourceObjectStreamVideo:

Response for stream_video resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["stream_video"]
class ResourceTaggingTaggedResourceObjectWorker:

Response for worker resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker"]
class ResourceTaggingTaggedResourceObjectWorkerVersion:

Response for worker_version resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["worker_version"]
worker_id: str

Worker ID is required only for worker_version resources

class ResourceTaggingTaggedResourceObjectZone:

Response for zone resources

id: str

Identifies the unique resource.

etag: str

ETag identifier for optimistic concurrency control. Formatted as "v1:" where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients should treat ETags as opaque strings and pass them back via the If-Match header on write operations.

name: str

Human-readable name of the resource.

tags: Dict[str, str]

Contains key-value pairs of tags.

type: Literal["zone"]
zone_id: str

Zone ID is required only for zone-level resources

maxLength32
minLength32

Resource TaggingKeys

List tag keys
resource_tagging.keys.list(KeyListParams**kwargs) -> SyncCursorPaginationAfter[KeyListResponse]
GET/accounts/{account_id}/tags/keys
ModelsExpand Collapse
str

Resource TaggingValues

List tag values
resource_tagging.values.list(strtag_key, ValueListParams**kwargs) -> SyncCursorPaginationAfter[ValueListResponse]
GET/accounts/{account_id}/tags/values/{tag_key}
ModelsExpand Collapse
str