PUT /public/v1/templates/{template_id}/shares
Replaces the full list of Workspaces this Template is shared with. The caller must be a member of every Workspace being newly shared by this call. Unsharing a Workspace only requires permission to edit the Template.
Servers
- https://api.pandadoc.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
template_id |
String | Yes |
Unique identifier of the Template whose Shares are being replaced. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
workspace_ids[] |
Array | Yes |
Unique identifiers of the Workspaces the Template should be shared with, representing the complete desired end-state rather than a delta. Duplicate ids are deduplicated, and the server replaces the prior shares with this set atomically. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.