Skip to main content
PATCH
Edit a community template draft

Authorizations

Authorization
string
header
required

Session access JWT or an API token (insta_<prefix>_<secret>).

Path Parameters

orgId
string<uuid>
required
code
string
required

Body

application/json
expectedUpdatedAt
string<date-time>
required

The draft's updatedAt as the client rendered it. A different current value answers 409 template_draft_changed.

code
string

Rename. Only before the first publish.

name
string
Required string length: 1 - 80
tagline
string | null
Maximum string length: 160
category
string | null
readme
string | null
logoUrl
string | null

An https:// image link. The link and its percent-encoded form are each at most 2048 characters. null clears it.

variables
object[]

Only the variables that changed, at most 600, the cap a project apply has. A name deleted in this PATCH can be added again only in a later PATCH. One invalid entry answers 400 and nothing is saved.

Maximum array length: 600
services
object[]

Only the services that changed, at most 100. An add or a delete entry carries nothing else. Service adds run first and deletes run after every other entry. A template holds at most 50 services. A name deleted in this PATCH can be added again only in a later PATCH. One invalid entry answers 400 and nothing is saved.

Maximum array length: 100

Response

Default Response

template
object
required