Collections
Archive a collection
Changed onArchiving a collection hides it, and all of the documents within it, from the sidebar and search results. Archived collections can be restored at a later date.
post/collections.archive
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/collections.archive
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://app.getoutline.com/oauth/authorizeToken URL: https://app.getoutline.com/oauth/token scopes: read, write
Request body
Response
OK
Example response
{
"data": {
"urlId": "hDYep1TPAM",
"name": "Human Resources",
"index": "P",
"color": "#123123",
"archivedBy": {
"name": "Jane Doe"
}
},
"policies": [
{
"abilities": {
"read": true,
"update": true,
"delete": false
}
}
]
}Changes
- info
added the optional property
/to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info