Entries/Places

Update clearance of places

Update the clearance of multiple places on behalf of the requesting organization.

Returns the number of created/updated clearance records.

If the given revision matches the current revision of that place then any pending clearance is deleted. Otherwise clearance will remain pending with the given revision stored as the new last cleared revision, i.e. any pending clearance is replaced.

Requests must include the API token of the organization.

post/places/clearance

Request body

place_idstring required

Identifier of a resource

cleared_revisioninteger

A revision number

Example request

[
  {
    "place_id": "7cee99c287094a94acbdcf29ffff2e85",
    "cleared_revision": 23
  }
]

Response

Successful response

countinteger required

Changes

Changed in 2 of the 50 revisions of this API.3

    • the items/cleared_revision request property type/format changed from integer/i64 to integer/int64

      request-property-type-changed

    • the items/cleared_revision request property type/format changed from integer/int64 to integer/i64

      request-property-type-changed

    • the count response's property type/format changed from integer/int64 to number/i64 for status 200

      response-property-type-changed

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog