Skip to content
Start here

Resources

List share resources by share ID
GET/accounts/{account_id}/shares/{share_id}/resources
Get share resource by ID
GET/accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}
Trigger a resource addition to a share
POST/accounts/{account_id}/shares/{share_id}/resources
Trigger a resource metadata update in a share
PUT/accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}
Trigger a resource deletion from a share
DELETE/accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}
ModelsExpand Collapse
ResourceListResponse object { id, created, meta, 6 more }
id: string

Share Resource identifier.

maxLength32
minLength32
created: string

When the object was created.

formatdate-time
meta: unknown

Resource Metadata.

modified: string

When the object was last modified.

formatdate-time
resource_account_id: string

Account identifier.

maxLength32
minLength32
resource_id: string

Identifier assigned by the service that owns the shared resource.

resource_type: "custom-ruleset" or "gateway-policy" or "gateway-destination-ip" or 4 more

Resource Type.

One of the following:
"custom-ruleset"
"gateway-policy"
"gateway-destination-ip"
"gateway-block-page-settings"
"gateway-extended-email-matching"
"idp-federation-grant"
"trust-grant"
resource_version: number

Resource Version.

status: "active" or "deleting" or "deleted"

Resource Status.

One of the following:
"active"
"deleting"
"deleted"
ResourceGetResponse object { id, created, meta, 6 more }
id: string

Share Resource identifier.

maxLength32
minLength32
created: string

When the object was created.

formatdate-time
meta: unknown

Resource Metadata.

modified: string

When the object was last modified.

formatdate-time
resource_account_id: string

Account identifier.

maxLength32
minLength32
resource_id: string

Identifier assigned by the service that owns the shared resource.

resource_type: "custom-ruleset" or "gateway-policy" or "gateway-destination-ip" or 4 more

Resource Type.

One of the following:
"custom-ruleset"
"gateway-policy"
"gateway-destination-ip"
"gateway-block-page-settings"
"gateway-extended-email-matching"
"idp-federation-grant"
"trust-grant"
resource_version: number

Resource Version.

status: "active" or "deleting" or "deleted"

Resource Status.

One of the following:
"active"
"deleting"
"deleted"
ResourceCreateResponse object { id, created, meta, 6 more }
id: string

Share Resource identifier.

maxLength32
minLength32
created: string

When the object was created.

formatdate-time
meta: unknown

Resource Metadata.

modified: string

When the object was last modified.

formatdate-time
resource_account_id: string

Account identifier.

maxLength32
minLength32
resource_id: string

Identifier assigned by the service that owns the shared resource.

resource_type: "custom-ruleset" or "gateway-policy" or "gateway-destination-ip" or 4 more

Resource Type.

One of the following:
"custom-ruleset"
"gateway-policy"
"gateway-destination-ip"
"gateway-block-page-settings"
"gateway-extended-email-matching"
"idp-federation-grant"
"trust-grant"
resource_version: number

Resource Version.

status: "active" or "deleting" or "deleted"

Resource Status.

One of the following:
"active"
"deleting"
"deleted"
ResourceUpdateResponse object { id, created, meta, 6 more }
id: string

Share Resource identifier.

maxLength32
minLength32
created: string

When the object was created.

formatdate-time
meta: unknown

Resource Metadata.

modified: string

When the object was last modified.

formatdate-time
resource_account_id: string

Account identifier.

maxLength32
minLength32
resource_id: string

Identifier assigned by the service that owns the shared resource.

resource_type: "custom-ruleset" or "gateway-policy" or "gateway-destination-ip" or 4 more

Resource Type.

One of the following:
"custom-ruleset"
"gateway-policy"
"gateway-destination-ip"
"gateway-block-page-settings"
"gateway-extended-email-matching"
"idp-federation-grant"
"trust-grant"
resource_version: number

Resource Version.

status: "active" or "deleting" or "deleted"

Resource Status.

One of the following:
"active"
"deleting"
"deleted"
ResourceDeleteResponse object { id, created, meta, 6 more }
id: string

Share Resource identifier.

maxLength32
minLength32
created: string

When the object was created.

formatdate-time
meta: unknown

Resource Metadata.

modified: string

When the object was last modified.

formatdate-time
resource_account_id: string

Account identifier.

maxLength32
minLength32
resource_id: string

Identifier assigned by the service that owns the shared resource.

resource_type: "custom-ruleset" or "gateway-policy" or "gateway-destination-ip" or 4 more

Resource Type.

One of the following:
"custom-ruleset"
"gateway-policy"
"gateway-destination-ip"
"gateway-block-page-settings"
"gateway-extended-email-matching"
"idp-federation-grant"
"trust-grant"
resource_version: number

Resource Version.

status: "active" or "deleting" or "deleted"

Resource Status.

One of the following:
"active"
"deleting"
"deleted"