PUT
/
databases
/
{id}
curl --request PUT \
  --url https://api.sevalla.com/v2/databases/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "resource_type": "db1",
  "display_name": "test-db"
}'
{
  "database": {
    "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
    "display_name": "test-db",
    "status": "updating"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json

Response

200
database/json

Response object of update database request

The response is of type object.