Skip to main content
POST
Turn a database on or off

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

databaseID
string
required

The database's _id. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
scale
enum<integer>
required
Available options:
0,
1

Response

Done. The response body is empty.