post https://{host}/databridge/v1/sql-instances//Databases//shrink
Shrinks a database on the specified server instance.
This operation shrinks the size of the data and log files.
The request body accepts optional truncateLogsOnly
body parameter. If true
, only the logs are truncated. By default, false
.
Role-based Permissions
To perform this operation, a principal must belong to a group that has been assigned the appropriate role-based permissions. The table identifies the roles with permission to perform this operation.
Consumer Contributor Data Bridge Admin NO NO YES To learn more about role-based permissions in Data Bridge, see Access Controls.