Resource Sharing
List account shares
client.resourceSharing.list(ResourceSharingListParams { account_id, direction, include_recipient_counts, 8 more } params, RequestOptionsoptions?): V4PagePaginationArray<ResourceSharingListResponse { id, account_id, account_name, 12 more } >
GET/accounts/{account_id}/shares
Get account share by ID
client.resourceSharing.get(stringshareId, ResourceSharingGetParams { account_id, include_recipient_counts, include_resources } params, RequestOptionsoptions?): ResourceSharingGetResponse { id, account_id, account_name, 12 more }
GET/accounts/{account_id}/shares/{share_id}
Create a new share
client.resourceSharing.create(ResourceSharingCreateParams { account_id, name, recipients, resources } params, RequestOptionsoptions?): ResourceSharingCreateResponse { id, account_id, account_name, 12 more }
POST/accounts/{account_id}/shares
Update a share
client.resourceSharing.update(stringshareId, ResourceSharingUpdateParams { account_id, name } params, RequestOptionsoptions?): ResourceSharingUpdateResponse { id, account_id, account_name, 12 more }
PUT/accounts/{account_id}/shares/{share_id}
Delete a share
client.resourceSharing.delete(stringshareId, ResourceSharingDeleteParams { account_id } params, RequestOptionsoptions?): ResourceSharingDeleteResponse { id, account_id, account_name, 12 more }
DELETE/accounts/{account_id}/shares/{share_id}
Resource SharingRecipients
List share recipients by share ID
client.resourceSharing.recipients.list(stringshareId, RecipientListParams { account_id, include_resources, page, per_page } params, RequestOptionsoptions?): V4PagePaginationArray<RecipientListResponse { id, account_id, association_status, 3 more } >
GET/accounts/{account_id}/shares/{share_id}/recipients
Get share recipient by ID
client.resourceSharing.recipients.get(stringshareId, stringrecipientId, RecipientGetParams { account_id, include_resources } params, RequestOptionsoptions?): RecipientGetResponse { id, account_id, association_status, 3 more }
GET/accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}
Create a new share recipient
client.resourceSharing.recipients.create(stringshareId, RecipientCreateParams { body_account_id, organization_id } params, RequestOptionsoptions?): RecipientCreateResponse { id, account_id, association_status, 3 more }
POST/accounts/{account_id}/shares/{share_id}/recipients
Delete a share recipient
client.resourceSharing.recipients.delete(stringshareId, stringrecipientId, RecipientDeleteParams { account_id } params, RequestOptionsoptions?): RecipientDeleteResponse { id, account_id, association_status, 3 more }
DELETE/accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}
Resource SharingResources
List share resources by share ID
client.resourceSharing.resources.list(stringshareId, ResourceListParams { account_id, page, per_page, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray<ResourceListResponse { id, created, meta, 6 more } >
GET/accounts/{account_id}/shares/{share_id}/resources
Get share resource by ID
client.resourceSharing.resources.get(stringshareId, stringresourceId, ResourceGetParams { account_id } params, RequestOptionsoptions?): ResourceGetResponse { id, created, meta, 6 more }
GET/accounts/{account_id}/shares/{share_id}/resources/{resource_id}
Create a new share resource
client.resourceSharing.resources.create(stringshareId, ResourceCreateParams { account_id, meta, resource_account_id, 2 more } params, RequestOptionsoptions?): ResourceCreateResponse { id, created, meta, 6 more }
POST/accounts/{account_id}/shares/{share_id}/resources
Update a share resource
client.resourceSharing.resources.update(stringshareId, stringresourceId, ResourceUpdateParams { account_id, meta } params, RequestOptionsoptions?): ResourceUpdateResponse { id, created, meta, 6 more }
PUT/accounts/{account_id}/shares/{share_id}/resources/{resource_id}
Delete a share resource
client.resourceSharing.resources.delete(stringshareId, stringresourceId, ResourceDeleteParams { account_id } params, RequestOptionsoptions?): ResourceDeleteResponse { id, created, meta, 6 more }
DELETE/accounts/{account_id}/shares/{share_id}/resources/{resource_id}