Skeddly API
Search
K

ArchiveProject Method

Description

Archives an existing project.
Note: The default project cannot be archived.

HTTP Request

PUT https://api.skeddly.com/api/Projects/<id>/Archive

URL Parameters

Id

ID of the project.
Type: string
Required: Yes

Body

The body is empty.

Returns

A Project object.

Sample Request

HTTP
Bash
PUT /api/Projects/proj-00000001/Archive HTTP/1.1
Host: api.skeddly.com
Authorization: AccessKey <api key>
Content-Type: application/json
curl -X PUT "https://api.skeddly.com/api/Projects/proj-00000001/Archive" \
-H "Authorization: AccessKey <api key>"

Sample Response

{
"projectId": "proj-12345678",
"name": "My Project New Name",
"status": "archived",
"isDefault": false,
"createdDate": "2022-12-26T12:00:00:Z",
"lastModifiedDate": "2023-01-26T12:00:00:Z",
"lastModifiedBy": "u-12345678"
}