---
title: Shared
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Shared

##### ModelsExpand Collapse

type ASN int64

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20asn%20%3E%20(schema)>)

<details>

<summary>

type AuditLog struct{…}

</summary>

ID stringOptional

A string that uniquely identifies the audit log.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Action AuditLogActionOptional

</summary>

Result boolOptional

A boolean that indicates if the action attempted was successful.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20action%20%3E%20(property)%20result">Link to this property</a>

Type stringOptional

A short string that describes the action that was performed.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20action%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20action">Link to this property</a>

<details>

<summary>

Actor AuditLogActorOptional

</summary>

ID stringOptional

The ID of the actor that performed the action. If a user performed the action, this will be their User ID.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20id">Link to this property</a>

Email stringOptional

The email of the user that performed the action.

formatemail

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20email">Link to this property</a>

IP stringOptional

The IP address of the request that performed the action.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20ip">Link to this property</a>

<details>

<summary>

Type AuditLogActorTypeOptional

The type of actor, whether a User, Cloudflare Admin, or an Automated System.

</summary>

One of the following:

const AuditLogActorTypeUser AuditLogActorType = "user"

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

const AuditLogActorTypeAdmin AuditLogActorType = "admin"

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

const AuditLogActorTypeCloudflare AuditLogActorType = "Cloudflare"

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor">Link to this property</a>

Interface stringOptional

The source of the event.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20interface">Link to this property</a>

Metadata unknownOptional

An object which can lend more context to the action being logged. This is a flexible value and varies between different actions.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

NewValue stringOptional

The new value of the resource that was modified.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20newValue">Link to this property</a>

OldValue stringOptional

The value of the resource before it was modified.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20oldValue">Link to this property</a>

<details>

<summary>

Owner AuditLogOwnerOptional

</summary>

ID stringOptional

Identifier

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20owner%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20owner">Link to this property</a>

<details>

<summary>

Resource AuditLogResourceOptional

</summary>

ID stringOptional

An identifier for the resource that was affected by the action.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20resource%20%3E%20(property)%20id">Link to this property</a>

Type stringOptional

A short string that describes the resource that was affected by the action.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20resource%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20resource">Link to this property</a>

When TimeOptional

A UTC RFC3339 timestamp that specifies when the action being logged occured.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20when">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)>)

<details>

<summary>

type CertificateCA string

The Certificate Authority that will issue the certificate.

</summary>

One of the following:

const CertificateCADigicert <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)">CertificateCA</a> = "digicert"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const CertificateCAGoogle <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)">CertificateCA</a> = "google"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const CertificateCALetsEncrypt <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)">CertificateCA</a> = "lets\_encrypt"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

const CertificateCASSLCom <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)">CertificateCA</a> = "ssl\_com"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20certificate_ca%20%3E%20(schema)>)

<details>

<summary>

type CertificateRequestType string

Signature type desired on certificate (“origin-rsa” (rsa), “origin-ecc” (ecdsa), or “keyless-certificate” (for Keyless SSL servers).

</summary>

One of the following:

const CertificateRequestTypeOriginRSA <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)">CertificateRequestType</a> = "origin-rsa"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const CertificateRequestTypeOriginECC <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)">CertificateRequestType</a> = "origin-ecc"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const CertificateRequestTypeKeylessCertificate <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)">CertificateRequestType</a> = "keyless-certificate"

<a href="#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20certificate_request_type%20%3E%20(schema)>)

<details>

<summary>

type CloudflareTunnel struct{…}

A Cloudflare Tunnel that connects your origin to Cloudflare’s edge.

</summary>

ID stringOptional

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

AccountTag stringOptional

Cloudflare account ID

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

ConfigSrc CloudflareTunnelConfigSrcOptional

Indicates if this is a locally or remotely configured tunnel. If <code>local</code>, manage the tunnel using a YAML file on the origin machine. If <code>cloudflare</code>, manage the tunnel on the Zero Trust dashboard.

</summary>

One of the following:

const CloudflareTunnelConfigSrcLocal CloudflareTunnelConfigSrc = "local"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20config_src%20%3E%20(member)%200">Link to this property</a>

const CloudflareTunnelConfigSrcCloudflare CloudflareTunnelConfigSrc = "cloudflare"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20config_src%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20config_src">Link to this property</a>

<details>

<summary>

DeprecatedConnections \[]CloudflareTunnelConnectionOptional

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

ID stringOptional

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

ClientID stringOptional

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

ClientVersion stringOptional

The cloudflared version used to establish this connection.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

ColoName stringOptional

The Cloudflare data center used for this connection.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

DeprecatedIsPendingReconnect boolOptional

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

OpenedAt TimeOptional

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

OriginIP stringOptional

The public IP address of the host running cloudflared.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

UUID stringOptional

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

ConnsActiveAt TimeOptional

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

ConnsInactiveAt TimeOptional

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

CreatedAt TimeOptional

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

DeletedAt TimeOptional

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

Metadata unknownOptional

Metadata associated with the tunnel.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

Name stringOptional

A user-friendly name for a tunnel.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

DeprecatedRemoteConfig boolOptional

Use the config\_src field instead.

If <code>true</code>, the tunnel can be configured remotely from the Zero Trust dashboard. If <code>false</code>, the tunnel must be configured locally on the origin machine.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20remote_config">Link to this property</a>

<details>

<summary>

Status CloudflareTunnelStatusOptional

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

const CloudflareTunnelStatusInactive CloudflareTunnelStatus = "inactive"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

const CloudflareTunnelStatusDegraded CloudflareTunnelStatus = "degraded"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

const CloudflareTunnelStatusHealthy CloudflareTunnelStatus = "healthy"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

const CloudflareTunnelStatusDown CloudflareTunnelStatus = "down"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

TunType CloudflareTunnelTunTypeOptional

The type of tunnel.

</summary>

One of the following:

const CloudflareTunnelTunTypeCfdTunnel CloudflareTunnelTunType = "cfd\_tunnel"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

const CloudflareTunnelTunTypeWARPConnector CloudflareTunnelTunType = "warp\_connector"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

const CloudflareTunnelTunTypeWARP CloudflareTunnelTunType = "warp"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

const CloudflareTunnelTunTypeMagic CloudflareTunnelTunType = "magic"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

const CloudflareTunnelTunTypeIPSec CloudflareTunnelTunType = "ip\_sec"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

const CloudflareTunnelTunTypeGRE CloudflareTunnelTunType = "gre"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

const CloudflareTunnelTunTypeCNI CloudflareTunnelTunType = "cni"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)>)

<details>

<summary>

type ErrorData struct{…}

</summary>

Code int64Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20error_data%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

DocumentationURL stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20error_data%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

Message stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20error_data%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

<details>

<summary>

Source ErrorDataSourceOptional

</summary>

Pointer stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20error_data%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20error_data%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20error_data%20%3E%20(schema)>)

<details>

<summary>

type Identifier struct{…}

</summary>

ID stringOptional

The unique identifier for a certificate\_pack.

<a href="#(resource)%20%24shared%20%3E%20(model)%20identifier%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20identifier%20%3E%20(schema)>)

<details>

<summary>

type LoadBalancerPreview struct{…}

</summary>

Pools map\[string, string]Optional

Monitored pool IDs mapped to their respective names.

<a href="#(resource)%20%24shared%20%3E%20(model)%20load_balancer_preview%20%3E%20(schema)%20%3E%20(property)%20pools">Link to this property</a>

PreviewID stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20load_balancer_preview%20%3E%20(schema)%20%3E%20(property)%20preview_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20load_balancer_preview%20%3E%20(schema)>)

<details>

<summary>

type Member struct{…}

</summary>

ID stringOptional

Membership identifier tag.

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Email stringOptional

The contact email address of the user.

maxLength90

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

Policies \[]MemberPolicyOptional

Access policy for the membership

</summary>

ID stringOptional

Policy identifier.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Access MemberPoliciesAccessOptional

Allow or deny operations against the resources.

</summary>

One of the following:

const MemberPoliciesAccessAllow MemberPoliciesAccess = "allow"

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%200">Link to this property</a>

const MemberPoliciesAccessDeny MemberPoliciesAccess = "deny"

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20access">Link to this property</a>

<details>

<summary>

PermissionGroups \[]MemberPoliciesPermissionGroupOptional

A set of permission groups that are specified to the policy.

</summary>

ID string

Identifier of the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Meta MemberPoliciesPermissionGroupsMetaOptional

Attributes associated to the permission group.

</summary>

Category stringOptional

A category used to group permission groups.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

Deprecated stringOptional

Indicates whether the permission group is deprecated.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

Description stringOptional

Additional information about the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

Editable stringOptional

Indicates whether the permission group can be edited.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

EolAt TimeOptional

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

Label stringOptional

A label identifying the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

Scopes stringOptional

The scope associated with the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

Visibility stringOptional

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

Name stringOptional

Name of the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

ResourceGroups \[]MemberPoliciesResourceGroupOptional

A list of resource groups that the policy applies to.

</summary>

ID string

Identifier of the resource group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Scope MemberPoliciesResourceGroupsScope

A scope is a combination of scope objects which provides additional context.

</summary>

Key string

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20key">Link to this property</a>

<details>

<summary>

Objects \[]MemberPoliciesResourceGroupsScopeObject

A list of scope objects for additional context.

</summary>

Key string

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects%20%3E%20(items)%20%3E%20(property)%20key">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope%20%3E%20(property)%20objects">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

Meta MemberPoliciesResourceGroupsMetaOptional

Attributes associated to the resource group.

</summary>

Key stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20key">Link to this property</a>

Value stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

Name stringOptional

Name of the resource group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20resource_groups">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

<details>

<summary>

Roles \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)">Role</a>Optional

Roles assigned to this Member.

</summary>

ID string

Role identifier tag.

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Description string

Description of role’s permissions.

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

Name string

Role name.

maxLength120

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

Permissions RolePermissions

</summary>

Analytics <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20analytics">Link to this property</a>

Billing <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20billing">Link to this property</a>

CachePurge <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20cache_purge">Link to this property</a>

DNS <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns">Link to this property</a>

DNSRecords <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns_records">Link to this property</a>

LB <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20lb">Link to this property</a>

Logs <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20logs">Link to this property</a>

Organization <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20organization">Link to this property</a>

SSL <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20ssl">Link to this property</a>

WAF <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20waf">Link to this property</a>

ZoneSettings <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zone_settings">Link to this property</a>

Zones <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zones">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20roles">Link to this property</a>

<details>

<summary>

Status MemberStatusOptional

A member’s status in the account.

</summary>

One of the following:

const MemberStatusAccepted MemberStatus = "accepted"

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

const MemberStatusPending MemberStatus = "pending"

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

User MemberUserOptional

Details of the user associated to the membership.

</summary>

Email string

The contact email address of the user.

maxLength90

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20email">Link to this property</a>

ID stringOptional

Identifier

maxLength32

minLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20id">Link to this property</a>

FirstName stringOptional

User’s first name

maxLength60

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20first_name">Link to this property</a>

LastName stringOptional

User’s last name

maxLength60

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20last_name">Link to this property</a>

TwoFactorAuthenticationEnabled boolOptional

Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20two_factor_authentication_enabled">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)%20%3E%20(property)%20user">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20member%20%3E%20(schema)>)

<details>

<summary>

type PaginationInfo struct{…}

</summary>

Count float64Optional

Total number of results for the requested service

<a href="#(resource)%20%24shared%20%3E%20(model)%20pagination_info%20%3E%20(schema)%20%3E%20(property)%20count">Link to this property</a>

Page float64Optional

Current page within paginated list of results

<a href="#(resource)%20%24shared%20%3E%20(model)%20pagination_info%20%3E%20(schema)%20%3E%20(property)%20page">Link to this property</a>

PerPage float64Optional

Number of results per page of results

<a href="#(resource)%20%24shared%20%3E%20(model)%20pagination_info%20%3E%20(schema)%20%3E%20(property)%20per_page">Link to this property</a>

TotalCount float64Optional

Total results available without any search parameters

<a href="#(resource)%20%24shared%20%3E%20(model)%20pagination_info%20%3E%20(schema)%20%3E%20(property)%20total_count">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20pagination_info%20%3E%20(schema)>)

type Permission string

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20permission%20%3E%20(schema)>)

<details>

<summary>

type PermissionGrant struct{…}

</summary>

Read boolOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)%20%3E%20(property)%20read">Link to this property</a>

Write boolOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)%20%3E%20(property)%20write">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)>)

<details>

<summary>

type RatePlan struct{…}

The rate plan applied to the subscription.

</summary>

<details>

<summary>

ID RatePlanIDOptional

The ID of the rate plan.

</summary>

One of the following:

const RatePlanIDFree RatePlanID = "free"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%200">Link to this property</a>

const RatePlanIDLite RatePlanID = "lite"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%201">Link to this property</a>

const RatePlanIDPro RatePlanID = "pro"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%202">Link to this property</a>

const RatePlanIDProPlus RatePlanID = "pro\_plus"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%203">Link to this property</a>

const RatePlanIDBusiness RatePlanID = "business"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%204">Link to this property</a>

const RatePlanIDEnterprise RatePlanID = "enterprise"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%205">Link to this property</a>

const RatePlanIDPartnersFree RatePlanID = "partners\_free"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%206">Link to this property</a>

const RatePlanIDPartnersPro RatePlanID = "partners\_pro"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%207">Link to this property</a>

const RatePlanIDPartnersBusiness RatePlanID = "partners\_business"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%208">Link to this property</a>

const RatePlanIDPartnersEnterprise RatePlanID = "partners\_enterprise"

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id%20%3E%20(member)%209">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Currency stringOptional

The currency applied to the rate plan subscription.

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20currency">Link to this property</a>

ExternallyManaged boolOptional

Whether this rate plan is managed externally from Cloudflare.

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20externally_managed">Link to this property</a>

IsContract boolOptional

Whether a rate plan is enterprise-based (or newly adopted term contract).

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20is_contract">Link to this property</a>

PublicName stringOptional

The full name of the rate plan.

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20public_name">Link to this property</a>

Scope stringOptional

The scope that this rate plan applies to.

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20scope">Link to this property</a>

Sets \[]stringOptional

The list of sets this rate plan applies to. Returns array of strings.

<a href="#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)%20%3E%20(property)%20sets">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)>)

<details>

<summary>

type ResponseInfo struct{…}

</summary>

Code int64

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

Message string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

DocumentationURL stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

Source ResponseInfoSourceOptional

</summary>

Pointer stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)>)

<details>

<summary>

type Result interface{…}

</summary>

One of the following:

<details>

<summary>

ResultObject

</summary>

<details>

<summary>

Errors \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)">ResponseInfo</a>Optional

</summary>

Code int64

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

Message string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

DocumentationURL stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

Source ResponseInfoSourceOptional

</summary>

Pointer stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

Messages \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)">ResponseInfo</a>Optional

</summary>

Code int64

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

Message string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

DocumentationURL stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

Source ResponseInfoSourceOptional

</summary>

Pointer stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20messages">Link to this property</a>

<details>

<summary>

Result \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)">AuditLog</a>Optional

</summary>

ID stringOptional

A string that uniquely identifies the audit log.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Action AuditLogActionOptional

</summary>

Result boolOptional

A boolean that indicates if the action attempted was successful.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20action%20%3E%20(property)%20result">Link to this property</a>

Type stringOptional

A short string that describes the action that was performed.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20action%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20action">Link to this property</a>

<details>

<summary>

Actor AuditLogActorOptional

</summary>

ID stringOptional

The ID of the actor that performed the action. If a user performed the action, this will be their User ID.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20id">Link to this property</a>

Email stringOptional

The email of the user that performed the action.

formatemail

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20email">Link to this property</a>

IP stringOptional

The IP address of the request that performed the action.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20ip">Link to this property</a>

<details>

<summary>

Type AuditLogActorTypeOptional

The type of actor, whether a User, Cloudflare Admin, or an Automated System.

</summary>

One of the following:

const AuditLogActorTypeUser AuditLogActorType = "user"

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

const AuditLogActorTypeAdmin AuditLogActorType = "admin"

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

const AuditLogActorTypeCloudflare AuditLogActorType = "Cloudflare"

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20actor">Link to this property</a>

Interface stringOptional

The source of the event.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20interface">Link to this property</a>

Metadata unknownOptional

An object which can lend more context to the action being logged. This is a flexible value and varies between different actions.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

NewValue stringOptional

The new value of the resource that was modified.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20newValue">Link to this property</a>

OldValue stringOptional

The value of the resource before it was modified.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20oldValue">Link to this property</a>

<details>

<summary>

Owner AuditLogOwnerOptional

</summary>

ID stringOptional

Identifier

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20owner%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20owner">Link to this property</a>

<details>

<summary>

Resource AuditLogResourceOptional

</summary>

ID stringOptional

An identifier for the resource that was affected by the action.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20resource%20%3E%20(property)%20id">Link to this property</a>

Type stringOptional

A short string that describes the resource that was affected by the action.

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20resource%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20resource">Link to this property</a>

When TimeOptional

A UTC RFC3339 timestamp that specifies when the action being logged occured.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20audit_log%20%3E%20(schema)%20%3E%20(property)%20when">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20result">Link to this property</a>

Success boolOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20success">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

ResultAaaAPIResponseCommon

</summary>

<details>

<summary>

Errors \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)">ResponseInfo</a>

</summary>

Code int64

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

Message string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

DocumentationURL stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

Source ResponseInfoSourceOptional

</summary>

Pointer stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

Messages \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)">ResponseInfo</a>

</summary>

Code int64

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

Message string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

DocumentationURL stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

Source ResponseInfoSourceOptional

</summary>

Pointer stringOptional

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20messages">Link to this property</a>

Success ResultAaaAPIResponseCommonSuccess

Whether the API call was successful

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20success">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20result%20%3E%20(schema)>)

<details>

<summary>

type Role struct{…}

</summary>

ID string

Role identifier tag.

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Description string

Description of role’s permissions.

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

Name string

Role name.

maxLength120

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

Permissions RolePermissions

</summary>

Analytics <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20analytics">Link to this property</a>

Billing <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20billing">Link to this property</a>

CachePurge <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20cache_purge">Link to this property</a>

DNS <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns">Link to this property</a>

DNSRecords <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20dns_records">Link to this property</a>

LB <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20lb">Link to this property</a>

Logs <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20logs">Link to this property</a>

Organization <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20organization">Link to this property</a>

SSL <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20ssl">Link to this property</a>

WAF <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20waf">Link to this property</a>

ZoneSettings <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zone_settings">Link to this property</a>

Zones <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20permission_grant%20%3E%20(schema)">PermissionGrant</a>Optional

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions%20%3E%20(property)%20zones">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)%20%3E%20(property)%20permissions">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20role%20%3E%20(schema)>)

<details>

<summary>

type SortDirection string

Direction to order DNS records in.

</summary>

One of the following:

const SortDirectionAsc <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20sort_direction%20%3E%20(schema)">SortDirection</a> = "asc"

<a href="#(resource)%20%24shared%20%3E%20(model)%20sort_direction%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const SortDirectionDesc <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20sort_direction%20%3E%20(schema)">SortDirection</a> = "desc"

<a href="#(resource)%20%24shared%20%3E%20(model)%20sort_direction%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20sort_direction%20%3E%20(schema)>)

<details>

<summary>

type Subscription struct{…}

</summary>

ID stringOptional

Subscription identifier tag.

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Currency stringOptional

The monetary unit in which pricing information is displayed.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20currency">Link to this property</a>

CurrentPeriodEnd TimeOptional

The end of the current period and also when the next billing is due.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20current_period_end">Link to this property</a>

CurrentPeriodStart TimeOptional

When the current billing period started. May match initial\_period\_start if this is the first period.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20current_period_start">Link to this property</a>

<details>

<summary>

Frequency SubscriptionFrequencyOptional

How often the subscription is renewed automatically.

</summary>

One of the following:

const SubscriptionFrequencyWeekly SubscriptionFrequency = "weekly"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20frequency%20%3E%20(member)%200">Link to this property</a>

const SubscriptionFrequencyMonthly SubscriptionFrequency = "monthly"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20frequency%20%3E%20(member)%201">Link to this property</a>

const SubscriptionFrequencyQuarterly SubscriptionFrequency = "quarterly"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20frequency%20%3E%20(member)%202">Link to this property</a>

const SubscriptionFrequencyYearly SubscriptionFrequency = "yearly"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20frequency%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20frequency">Link to this property</a>

Price float64Optional

The price of the subscription that will be billed, in US dollars.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20price">Link to this property</a>

RatePlan <a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20rate_plan%20%3E%20(schema)">RatePlan</a>Optional

The rate plan applied to the subscription.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20rate_plan">Link to this property</a>

<details>

<summary>

State SubscriptionStateOptional

The state that the subscription is in.

</summary>

One of the following:

const SubscriptionStateTrial SubscriptionState = "Trial"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

const SubscriptionStateProvisioned SubscriptionState = "Provisioned"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

const SubscriptionStatePaid SubscriptionState = "Paid"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

const SubscriptionStateAwaitingPayment SubscriptionState = "AwaitingPayment"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%203">Link to this property</a>

const SubscriptionStateCancelled SubscriptionState = "Cancelled"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%204">Link to this property</a>

const SubscriptionStateFailed SubscriptionState = "Failed"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%205">Link to this property</a>

const SubscriptionStateExpired SubscriptionState = "Expired"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20subscription%20%3E%20(schema)>)

<details>

<summary>

type SubscriptionComponent struct{…}

A component value for a subscription.

</summary>

Default float64Optional

The default amount assigned.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

DisplayName stringOptional

A human-readable version of the component name.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20display_name">Link to this property</a>

<details>

<summary>

Kind SubscriptionComponentKindOptional

The type of component value. “enum” for discrete values (including boolean on/off toggles where 0=off and 1=on), “sum” for countable quantities, “usage” for metered billing components.

</summary>

One of the following:

const SubscriptionComponentKindEnum SubscriptionComponentKind = "enum"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%200">Link to this property</a>

const SubscriptionComponentKindSum SubscriptionComponentKind = "sum"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%201">Link to this property</a>

const SubscriptionComponentKindUsage SubscriptionComponentKind = "usage"

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20kind">Link to this property</a>

Name stringOptional

The name of the component value.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

Price float64Optional

The unit price for the component value.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20price">Link to this property</a>

Value float64Optional

The amount of the component value assigned.

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)%20%3E%20(property)%20value">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20subscription_component%20%3E%20(schema)>)

<details>

<summary>

type SubscriptionZone struct{…}

A simple zone object. May have null properties if not a zone subscription.

</summary>

ID stringOptional

Identifier

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_zone%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Name stringOptional

The domain name

maxLength253

<a href="#(resource)%20%24shared%20%3E%20(model)%20subscription_zone%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20subscription_zone%20%3E%20(schema)>)

<details>

<summary>

type Token struct{…}

</summary>

ID stringOptional

Token identifier tag.

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Condition TokenConditionOptional

</summary>

<details>

<summary>

RequestIP TokenConditionRequestIPOptional

Client IP restrictions.

</summary>

In \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20token_condition_cidr_list%20%3E%20(schema)">TokenConditionCIDRList</a>Optional

List of IPv4/IPv6 CIDR addresses.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20condition%20%3E%20(property)%20request_ip%20%3E%20(property)%20in">Link to this property</a>

NotIn \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20token_condition_cidr_list%20%3E%20(schema)">TokenConditionCIDRList</a>Optional

List of IPv4/IPv6 CIDR addresses.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20condition%20%3E%20(property)%20request_ip%20%3E%20(property)%20not_in">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20condition%20%3E%20(property)%20request_ip">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20condition">Link to this property</a>

CreatorEmailAtCreation stringOptional

The email address of the user who created the token at the time of creation. Only present for Account Owned API Tokens when a creator email was available.

maxLength90

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20creator_email_at_creation">Link to this property</a>

ExpiresOn TimeOptional

The expiration time on or after which the JWT MUST NOT be accepted for processing.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

IssuedOn TimeOptional

The time on which the token was created.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20issued_on">Link to this property</a>

LastUsedOn TimeOptional

Last time the token was used.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20last_used_on">Link to this property</a>

ModifiedOn TimeOptional

Last time the token was modified.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

Name stringOptional

Token name.

maxLength120

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

NotBefore TimeOptional

The time before which the token MUST NOT be accepted for processing.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20not_before">Link to this property</a>

<details>

<summary>

Policies \[]<a href="https://developers.cloudflare.com/api/go/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)">TokenPolicy</a>Optional

List of access policies assigned to the token.

</summary>

ID string

Policy identifier.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Effect TokenPolicyEffect

Allow or deny operations against the resources.

</summary>

One of the following:

const TokenPolicyEffectAllow TokenPolicyEffect = "allow"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20effect%20%3E%20(member)%200">Link to this property</a>

const TokenPolicyEffectDeny TokenPolicyEffect = "deny"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20effect%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20effect">Link to this property</a>

<details>

<summary>

PermissionGroups \[]TokenPolicyPermissionGroup

A set of permission groups that are specified to the policy.

</summary>

ID string

Identifier of the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Meta TokenPolicyPermissionGroupsMetaOptional

Attributes associated to the permission group.

</summary>

Category stringOptional

A category used to group permission groups.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

Deprecated stringOptional

Indicates whether the permission group is deprecated.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

Description stringOptional

Additional information about the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

Editable stringOptional

Indicates whether the permission group can be edited.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

EolAt TimeOptional

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

Label stringOptional

A label identifying the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

Scopes stringOptional

The scope associated with the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

Visibility stringOptional

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

Name stringOptional

Name of the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

Resources TokenPolicyResourcesUnion

A list of resource names that the policy applies to.

</summary>

One of the following:

type TokenPolicyResourcesIAMResourcesTypeObjectString map\[string, string]

Map of simple string resource permissions

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20resources%20%3E%20(variant)%200">Link to this property</a>

type TokenPolicyResourcesIAMResourcesTypeObjectNested map\[string, map\[string, string]]

Map of nested resource permissions

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20resources%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20resources">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20policies">Link to this property</a>

ProvisionerID stringOptional

The identifier of the service that provisioned the token. For an OAuth-provisioned token, this is the OAuth client identifier. Present when <code>provisioner_type</code> is present and null when the identifier is unavailable.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20provisioner_id">Link to this property</a>

ProvisionerType stringOptional

The type of service that provisioned the token. Only present for provisioned Account Owned API Tokens.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20provisioner_type">Link to this property</a>

<details>

<summary>

Status TokenStatusOptional

Status of the token.

</summary>

One of the following:

const TokenStatusActive TokenStatus = "active"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

const TokenStatusDisabled TokenStatus = "disabled"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

const TokenStatusExpired TokenStatus = "expired"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20token%20%3E%20(schema)>)

type TokenConditionCIDRList string

IPv4/IPv6 CIDR.

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20token_condition_cidr_list%20%3E%20(schema)>)

<details>

<summary>

type TokenPolicy struct{…}

</summary>

ID string

Policy identifier.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Effect TokenPolicyEffect

Allow or deny operations against the resources.

</summary>

One of the following:

const TokenPolicyEffectAllow TokenPolicyEffect = "allow"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20effect%20%3E%20(member)%200">Link to this property</a>

const TokenPolicyEffectDeny TokenPolicyEffect = "deny"

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20effect%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20effect">Link to this property</a>

<details>

<summary>

PermissionGroups \[]TokenPolicyPermissionGroup

A set of permission groups that are specified to the policy.

</summary>

ID string

Identifier of the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Meta TokenPolicyPermissionGroupsMetaOptional

Attributes associated to the permission group.

</summary>

Category stringOptional

A category used to group permission groups.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20category">Link to this property</a>

Deprecated stringOptional

Indicates whether the permission group is deprecated.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20deprecated">Link to this property</a>

Description stringOptional

Additional information about the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20description">Link to this property</a>

Editable stringOptional

Indicates whether the permission group can be edited.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20editable">Link to this property</a>

EolAt TimeOptional

The planned end-of-life date and time, when provided.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20eol_at">Link to this property</a>

Label stringOptional

A label identifying the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20label">Link to this property</a>

Scopes stringOptional

The scope associated with the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20scopes">Link to this property</a>

Visibility stringOptional

Indicates the permission group’s availability or visibility.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta%20%3E%20(property)%20visibility">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20meta">Link to this property</a>

Name stringOptional

Name of the permission group.

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20permission_groups">Link to this property</a>

<details>

<summary>

Resources TokenPolicyResourcesUnion

A list of resource names that the policy applies to.

</summary>

One of the following:

type TokenPolicyResourcesIAMResourcesTypeObjectString map\[string, string]

Map of simple string resource permissions

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20resources%20%3E%20(variant)%200">Link to this property</a>

type TokenPolicyResourcesIAMResourcesTypeObjectNested map\[string, map\[string, string]]

Map of nested resource permissions

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20resources%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)%20%3E%20(property)%20resources">Link to this property</a>

</details>

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20token_policy%20%3E%20(schema)>)

type TokenValue string

The token value.

[Link to this property](<#(resource)%20%24shared%20%3E%20(model)%20token_value%20%3E%20(schema)>)