PATCH /v2/templates/{templateID}
Update template (v2)
Update template
Параметры
templateID·string· путь · обязательно
Тело запроса
Обязательно: да
application/json
Схема: TemplateUpdateRequest
public·boolean· необязательноWhether the template is public or only accessible by the team
Ответы
200
The template was updated successfully
Content-Type: application/json
Схема: TemplateUpdateResponse
names·array<string>· обязательноNames of the template (namespace/alias format when namespaced)
400
Bad request
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
401
Authentication error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
500
Server error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError