Update department

以 Markdown 格式查看

Update department (Enterprise/Contact only). All body fields optional; name 1-100, description 0-500, budget 0-999999.99.

路径参数

idstring必需
Department UUID

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

name, description, managerId, budget, budgetAction
budgetdouble可选
budgetActionstring可选
descriptionstring可选
managerIdstring可选
namestring可选

响应

data: updated department

错误

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