Skip to main content
DELETE
After unlinking, pushes no longer publish versions. Existing versions and the apps created from the template are not affected. You can link again at any time with Link a Private Template to GitHub. Only the owner of the template can unlink it. Needs the templates:write scope when called with an API key.
string
required
The template ID.
string
If the template belongs to a workspace, the workspace’s ID.

Response

The template object of Create a Private Template, now with github set to null.
object
The template.

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • API_KEY_SCOPE_DENIED: The API key does not have the templates:write scope (403).
  • TEMPLATE_NOT_FOUND: The template does not exist or is not yours (404).
  • WORKSPACE_OWNER_ONLY: Only the workspace owner unlinks its templates.
Last modified on October 28, 2026