v1Resources/Locations/postReactivate an archived location

Reactivate an archived location

Restores an already-archived location — and every listing under it — and clears any pending archival schedule. A location that isn't currently archived is a no-op success, not an error.

post/api/v1/locations/{id}/reactivate
locations:write
Query parameters
idstringrequired
The location to reactivate.
Response
dataobjectoptional
archivedbooleanoptional
Whether the location is archived.
cancelledScheduledPostsnumberoptional
Number of scheduled posts cancelled as part of reactivating away from an archived state, if any.
Errors
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
409The request conflicts with the current state of the resource — for example, changing the email or phone of a recipient who has already been messaged, or a team invite that was already accepted (or hasn't been accepted yet).
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/locations/{id}/reactivate
Your API key
id *
{
  "data": {
    "archived": false,
    "cancelledScheduledPosts": 0
  }
}

Guides that use this resource