Skip to content

Close changeset

  • One of the main OpenStreetMap API usabilities

Closes the ongoing changeset.

Required after creating/updating/deleting every element (node, way, relation)

You should manually close the ongoing changeset after the process, otherwise it will close automatically.

Request

/api/0.6/changeset/{id}/close

Response

succesCloseChangeset_example.xml

Error codes

No changeset with the given ID could be found.

If the request is not a (HTTP) PUT request.

If the changeset in question has already been closed either by the user, or as a result of the auto-closing feature (example: The changeset 412384 was closed at 2025-04-23 11:51:26 UTC). Also, if the user trying to update the changeset is not the same as the one that created it.