Accept a pending template share

View as MarkdownOpen in Claude
If a workbook template has been shared with your organization but not yet accepted, accept the template share. ### Usage notes - Retrieve pending template shares by calling the [/v2/shared_templates/shared_with_you](https://help.sigmacomputing.com/reference/list-templates-shared-with-you) endpoint and specifying `pending` as `true`. - Retrieve the **shareId** by calling the [/v2/shared_templates/shared_with_you](https://help.sigmacomputing.com/reference/list-templates-shared-with-you) endpoint and using the `shareId` included in the response. - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint. - Retrieve the **inodeId** for a table by calling the [/v2/connections/{connectionId}/lookup](https://help.sigmacomputing.com/reference/lookup-connection) endpoint. - The key of the **sourceSwaps** object is the original id of the table, dataset, or connection in the organization that shared the template

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

The request body.
shareIdstringRequired
sourceSwapsmap from strings to objectsOptional

Response

The response body.