GET/spaces/api/v1/spaces/{spaceID}/trash.json
gets a list of all trashed pages in a space
Request Examples
Example Request
GET
/spaces/api/v1/spaces/{spaceID}/trash.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/account.json
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
200 OK
SpacePages
{
"trash": [
{
"childPages": [
{
"id": 0,
"slug": "string",
"title": "string",
"updatedAt": "2025-02-11T11:36:38.358Z"
}
],
"id": 0,
"slug": "string",
"title": "string",
"updatedAt": "2025-02-11T11:36:38.358Z"
}
]
}