POST/spaces/api/v1/spaces/{spaceID}/trash/{pageID}.json
places a page object into trash via state change
Path Params
- Name
spaceID
- Type
- integer
- required
- Description
- Name
pageID
- Type
- integer
- required
- Description
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
201 Created
SpacePages
{
"trash": [
{
"childPages": [
{
"id": 0,
"slug": "string",
"title": "string",
"updatedAt": "2024-12-19T16:02:17.198Z"
}
],
"id": 0,
"slug": "string",
"title": "string",
"updatedAt": "2024-12-19T16:02:17.198Z"
}
]
}