Close a project

View as Markdown

Marks the project as closed and stamps closedAt. Requires project:close on the project.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

idstringRequired
The project id.

Response

The closed project.
projectobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error