cURL
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" } }
Update settings or metadata for an existing database.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"54fb80af-576c-4fdc-ba4f-b596c83f15a1"
the resource type (database size) to be updated
db1
db2
db3
db4
db5
db6
db7
db8
db9
"db1"
"test-db"
Response object of update database request
Show child attributes
Was this page helpful?