Update template
- OpenAPI 3.1.0 document: https://api.rollstack.com/public/v1/openapi.json
- The whole reference in Markdown: https://docs.rollstack.com/llms-full.txt
- An index of the reference: https://docs.rollstack.com/llms.txt
PATCH https://api.rollstack.com/public/v1/templates/{templateId}
Renames a company template, or shares it with the organization or stops sharing it, as the app's Templates drawer does. Its creator can rename it and stop sharing it, only an admin can share their own template with the organization, and admins can also rename any shared one. Reports already built in it keep their look. Answers the template as listTemplates lists it.
Requires the slide_decks:write scope.
Operation ID: updateTemplate.
Path parameters
templateId(string (uuid), required): The company template to act on, by itsidfromlistTemplates. Rollstack's own template can't be changed.
Headers
Idempotency-Key(string): A unique value, such as a UUID, that makes retrying this call safe. A retry with the same key within 24 hours answers the first call's result instead of running it again. Use a new key for each new call. From 1 to 255 printable ASCII characters.
Request body, required
application/json
name(string): The template's new name, as members see it in Rollstack.sharedWithOrganization(boolean): Whether everyone in the organization can use the template, or only you. Only admins can share a template with the organization; a template's creator can stop sharing it.
Response 200
Success
application/json
id(string, required): The template, by itsidfromlistTemplates. Rollstack's own template has the fixed idrollstack-signature. Example:rollstack-signature.name(string, required): The template's name, as members see it in Rollstack.builtIn(boolean, required):truefor Rollstack's own template, which every organization has;falsefor a company template.source(string, required): Where the template comes from, as Rollstack shows it:Made by Rollstack,Shared by <member>orOnly visible to you. Name it to tell templates with the same name apart.sharedWithOrganization(boolean or null, required): Whether everyone in the organization can use the company template.falsewhen only its creator can.nullfor Rollstack's own template.createdBy(object or null, required): The member who imported the company template.nullfor Rollstack's own, or when their account was deleted.id(number, required)name(string, required)
createdAt(string (date-time) or null, required): When the company template was imported.nullfor Rollstack's own.