Update project

以 Markdown 格式查看

Update a project name or description for an Enterprise workspace. All body fields are optional, but at least one field must be supplied. All workspace members except viewers may write; PATs require the write scope.

路径参数

idstring必需格式: "uuid"
Project UUID

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需格式: "uuid"
Workspace UUID

请求

At least one of name or description must be supplied
descriptionstring or null可选<=1000 characters

New project description; null clears the description.

namestring可选格式: "\S">=1 character

Leading and trailing whitespace is trimmed; the trimmed name must contain 1-100 Unicode characters.

响应

data: updated project

dataobject可选

错误

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error