# ResourceSharing

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingNewResponse">ResourceSharingNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingUpdateResponse">ResourceSharingUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingListResponse">ResourceSharingListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingDeleteResponse">ResourceSharingDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingGetResponse">ResourceSharingGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/shares">client.ResourceSharing.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingNewParams">ResourceSharingNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingNewResponse">ResourceSharingNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/shares/{share_id}">client.ResourceSharing.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingUpdateParams">ResourceSharingUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingUpdateResponse">ResourceSharingUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/shares">client.ResourceSharing.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingListParams">ResourceSharingListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingListResponse">ResourceSharingListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/shares/{share_id}">client.ResourceSharing.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingDeleteParams">ResourceSharingDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingDeleteResponse">ResourceSharingDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/shares/{share_id}">client.ResourceSharing.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingGetParams">ResourceSharingGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceSharingGetResponse">ResourceSharingGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Recipients

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientNewResponse">RecipientNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientListResponse">RecipientListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientDeleteResponse">RecipientDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientGetResponse">RecipientGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/shares/{share_id}/recipients">client.ResourceSharing.Recipients.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientNewParams">RecipientNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientNewResponse">RecipientNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/shares/{share_id}/recipients">client.ResourceSharing.Recipients.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientListParams">RecipientListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientListResponse">RecipientListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}">client.ResourceSharing.Recipients.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, recipientID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientDeleteParams">RecipientDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientDeleteResponse">RecipientDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}">client.ResourceSharing.Recipients.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, recipientID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientGetParams">RecipientGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#RecipientGetResponse">RecipientGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Resources

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceNewResponse">ResourceNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceUpdateResponse">ResourceUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceListResponse">ResourceListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceDeleteResponse">ResourceDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceGetResponse">ResourceGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/shares/{share_id}/resources">client.ResourceSharing.Resources.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceNewParams">ResourceNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceNewResponse">ResourceNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/shares/{share_id}/resources/{resource_id}">client.ResourceSharing.Resources.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, resourceID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceUpdateParams">ResourceUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceUpdateResponse">ResourceUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/shares/{share_id}/resources">client.ResourceSharing.Resources.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceListParams">ResourceListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceListResponse">ResourceListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/shares/{share_id}/resources/{resource_id}">client.ResourceSharing.Resources.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, resourceID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceDeleteParams">ResourceDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceDeleteResponse">ResourceDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/shares/{share_id}/resources/{resource_id}">client.ResourceSharing.Resources.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, shareID <a href="https://pkg.go.dev/builtin#string">string</a>, resourceID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceGetParams">ResourceGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing">resource_sharing</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/resource_sharing#ResourceGetResponse">ResourceGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
