Skip to main content
Effective Date — May 7, 2026
As part of the IAM hierarchy simplification, a new format of the TIR APIs is now available. All endpoints that previously included /teams/:team_id segment will now follow a service-centric structure, with project_id now passed as a query parameter instead of a path segment. You can read more about this change

Enable or Suspend Object Versioning

Turn versioning on, or suspend it. Suspending stops new versions being created; existing versions are retained and continue to be billed.

The bucket must be in a ready state. Versioning cannot be suspended while object lock is enabled, because a locked bucket requires it.

PUT/datasets/{Dataset_Id}/versioning/

Path parameters

  • Dataset_IdPathintegeroptional

    dataset id

Query parameters

  • project_idQueryintegerrequired

    Project ID

  • active_iamQueryintegeroptional

    Active IAM ID (To access contact person account) Find your Active IAM ID here

  • locationQuerystringrequired

    Location

Request body

application/json

object
versioningstringrequiredEnabled | Disabled

Whether new uploads create a new version of an object instead of replacing it. Disabled suspends versioning; existing versions are retained.

exampleEnabled

Responses

No documented responses.