apistockdocs
v0.4 GitHub apistock.dev
API reference/Projects

Update a project

PATCH /v1/orgs/{orgId}/projects/{id}
Send the fields to change and the version you read.

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Path

orgIdstringrequired
maxLength: 64
idstringrequired
maxLength: 64

Body

application/json
versionintegerrequired

The version you read. If the project changed since, the update fails with project_version_conflict.

format: int64minimum: 1
descriptionstring
maxLength: 2000
namestring
maxLength: 100
statusstring
one of: active, archived

Responses

errors: application/problem+json
200

OK

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close