Spaces

Archives a space

POST
Sets archivedAt timestamp on a space

Path parameters

spaceIdstringRequired
ID of space to archive

Response

This endpoint returns an object
data
objectOptional

Errors

POST
$curl -X POST https://api.x.flatfile.com/v1/spaces/us_sp_YOUR_ID/archive \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "success": true
4 }
5}