Skip to content

Unarchive a project

Request

Unarchives a project your organization owns. Idempotent: unarchiving a project that is not archived returns 200 and changes nothing. Requires the organization to be enabled for the write surface.

The response echoes the project's state after the unarchive, gated per field exactly like GET /v1/projects/{project_id}.

Security
bearerAuth
Path
project_idstring, (uuid)required
curl -i -X POST \
  'https://api.docs.junior.ai/_mock/openapi/projects/{project_id}/unarchive' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Project unarchived. Field availability depends on your organization's configuration — see the schema.

Bodyapplication/json
dataobject(ProjectDetail)required

A project read back via GET /v1/projects/{project_id}. Same fields as the create response, except that some sensitive fields may be omitted depending on your organization's configuration. An API key is an organization credential, so this can return a project nobody using that key created.

Response
{ "data": { "billing_code": "string", "billing_office_name": "string", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invited_lead_emails": [ … ], "invited_member_emails": [ … ], "is_archived": true, "lead_emails": [ … ], "member_emails": [ … ], "name": "string", "sector": "string" } }