# un-share PaaS Snapshots and make it public

Endpoint: POST /paas-snapshots/{paaSSnapshotId}/unshare
Version: 3.30.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `paaSSnapshotId` (string, required)
    The ID of the PaaS Snapshot.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `snapshot` (object)
    A PaaS Snapshot.

  - `snapshot.id` (string)
    The ID of the PaaS Snapshot.
    Example: snapshot-123

  - `snapshot.name` (string)
    The name of the PaaS Snapshot.
    Example: my-snapshot-123

  - `snapshot.size` (integer)
    The size of the PaaS Snapshot in bytes.
    Example: 123456789

  - `snapshot.snapshot_location` (string)
    The location of the PaaS Snapshot. This is platform specific and may represent a logical unique identifier, a location on storage, ...

  - `snapshot.database_id` (string)
    The ID of the PaaS Database.
    Example: my-db-123

  - `snapshot.instance_id` (string)
    The ID of the PaaS Instance.
    Example: my-db-123

  - `snapshot.database_name` (string)
    The name of the PaaS Database.
    Example: my-db

  - `snapshot.instance_name` (string)
    The name of the PaaS Database instance.
    Example: my-db

  - `snapshot.timestamp` (string)
    The timestamp of the PaaS Snapshot. If this snapshot represents a range, this is the start timestamp of the range.
    Example: 2021-05-01T08:51:34.148Z

  - `snapshot.end_timestamp` (string)
    The last point in time data can be provisioned or refresh to. If the snapshots represents a single point in time, this is equal to timestamp. Otherwise, it must be greater than timestamp, and indicates than any timestamp between timestamp and end_timestamp can be used. If this is null, it indicates the snapshot is valid until the current time.
    Example: 2025-05-01T09:51:34.148Z

  - `snapshot.is_public` (boolean)
    Whether this snapshot is public or not.
    Example: true

  - `snapshot.is_dct_managed` (boolean)
    Whether this snapshot was created via DCT or not. All snapshots can be used to provision or refresh, but only DCT managed snapshots can be deleted via DCT.
    Example: true

  - `snapshot.is_automated_backup` (boolean)
    Whether this snapshot represents an automated backup. Automated backups are point-in-time backups with a retention period that represent a range of time rather than a single point.
    Example: true

  - `snapshot.cloud_account_id` (string)
    The ID of the Cloud Account.
    Example: my-db-123

  - `snapshot.timeflow_id` (string)
    The ID of the PaaSTimeflow this snapshot belongs to.
    Example: timeflow-123

  - `snapshot.masked_by_execution_id` (string)
    The ID of the compliance job collection execution that masked this snapshot, if any.

  - `snapshot.masked_by_collection_id` (string)
    The ID of the compliance job collection that masked this snapshot, if any.

  - `snapshot.tags` (array)

  - `snapshot.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `snapshot.tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `snapshot.tags.mirror_on_cloud` (boolean)
    Whether this tag is mirrored from/to the Cloud Provider account hosting the PaaS Database or Instance. Not applicable to non PaaS objects.

