Skip to content
Start here

Resources

List share resources by share ID
client.ResourceSharing.Resources.List(ctx, shareID, params) (*V4PagePaginationArray[ResourceListResponse], error)
GET/accounts/{account_id}/shares/{share_id}/resources
Get share resource by ID
client.ResourceSharing.Resources.Get(ctx, shareID, resourceID, query) (*ResourceGetResponse, error)
GET/accounts/{account_id}/shares/{share_id}/resources/{resource_id}
Create a new share resource
client.ResourceSharing.Resources.New(ctx, shareID, params) (*ResourceNewResponse, error)
POST/accounts/{account_id}/shares/{share_id}/resources
Update a share resource
client.ResourceSharing.Resources.Update(ctx, shareID, resourceID, params) (*ResourceUpdateResponse, error)
PUT/accounts/{account_id}/shares/{share_id}/resources/{resource_id}
Delete a share resource
client.ResourceSharing.Resources.Delete(ctx, shareID, resourceID, body) (*ResourceDeleteResponse, error)
DELETE/accounts/{account_id}/shares/{share_id}/resources/{resource_id}