v1

latestOpenAPI 3.0.32026-07-17485661.9 KB

Revoke a database share

Revokes a shared snapshot, deleting the underlying storage snapshot. The share is identified by its share token.

delete/spaces/{space_id}/shares/{share_token}

Path parameters

space_idstring required

Ghost space ID.

share_tokenstring required

Share token returned from listShares or shareDatabase (begins with gs_).

Response

Share revoked

share_tokenstring required

Token passed to createDatabase (via share_token) to create a new database from the shared snapshot in another space. Also used to revoke the share via revokeShare. Always begins with gs_.

database_idstring required

ID of the source database.

database_namestring required

Name of the source database.

created_atstring date-time required

Time the share was created.

expires_atstring date-time

Time the share expires. Absent if the share does not expire.

revoked_atstring date-time

Time the share was revoked. Absent if the share is still active.