Skip to content

Rename a template

PATCH
/v1/template/{templateID}
templateID
required
string

Unique template identifier.

object
name
required

New template name.

string

No Content

Invalid request payload.

One of:
object
message
required

Summary message, e.g. “Invalid request”.

string
errors
required
Array<object>
object
field
required

JSON field name that failed validation (e.g. “path”, “command”).

string
error
required

Human-readable description of the validation failure.

string

Unauthorized – invalid or missing API key.

object
message
required

Human-readable error message.

string

Resource not found.

object
message
required

Human-readable error message.

string

Conflict - template cannot be renamed or the name already exists.

object
message
required

Human-readable error message.

string