• Relational Database Service

rds
  1. Help Center
  2. Relational Database Service
  3. API Reference
  4. OpenStack trove API v1.0
  5. DB Instance Management
  6. Rebooting a DB Instance

Rebooting a DB Instance

Function

This API is used to reboot a DB instance.

The RDS DB instance will be unavailable during the reboot process. Exercise caution when performing this operation.

URI

  • URI format

    PATH: /{versionId}/{project_id}/instances/{instanceId}/action

    Method: POST

  • Parameter description
    Table 1 Parameter description

    Name

    Mandatory

    Description

    versionId

    Yes

    Specifies the API version. It is case-sensitive and the value is v1.0.

    project_id

    Yes

    Specifies the project ID of a tenant in a region.

    instanceId

    Yes

    Specifies the DB instance ID.

  • Restrictions

    The DB instance cannot reboot when it is being created, scaled, backed up, restored, or its instance class is being changed.

    Currently, only the DB engines MySQL and PostgreSQL are supported by the API.

Request

  • Parameter description
    Table 2 Parameter description

    Name

    Mandatory

    Type

    Description

    restart

    Yes

    String

    This parameter is left blank.

  • Request example
    {
          "restart": {} 
    }

Normal Response

N/A

Abnormal Response

For details, see Abnormal Request Results.