Update a project
PATCH/v1/projects/:id
Updates a project's name or description.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Project updated
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to edit this project, or the API key lacks the projects:write scope (err_insufficient_scope).
Project not found (err_project_not_found).
Validation failed. Error codes:
err_name_or_description_must_be_given— neithernamenordescriptionwas senterr_name_must_be_filled—nameis emptyerr_name_must_not_be_blank—namecontains only spaceserr_name_size_cannot_be_greater_than_60—nameis longer than 60 characterserr_description_size_cannot_be_greater_than_255—descriptionis longer than 255 characterserr_project_archived— the project is archivederr_system_project— the project is the system projecterr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action