Template Settings
Update Template Sharing Settings
Changed onReplaces 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.
put/public/v1/templates/{template_id}/shares
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
template_idstring required
Unique identifier of the Template whose Shares are being replaced.
Request body
Example request
{
"workspace_ids": [
"BhVzRcxH9Z2LgfPPGXFUBa",
"2eWSKSvVqmuVCnuUK3iWwD"
]
}Response
Successfully replaced the Template's Shares.
Example response
{
"workspace_ids": [
"BhVzRcxH9Z2LgfPPGXFUBa",
"2eWSKSvVqmuVCnuUK3iWwD"
]
}Changes
- info
endpoint added
- info