Skip to main content
POST
/
core.v1.ResourceService
/
UpdateResourceHealthCheck
cURL
curl -X POST "https://api.joinformal.com/core.v1.ResourceService/UpdateResourceHealthCheck" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "resourceHealthCheck": {
    "id": "<string>",
    "resourceId": "<string>",
    "orgId": "<string>",
    "database": "<string>",
    "terminationProtection": true,
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
id
string
Minimum string length: 1
databaseName
string | null
terminationProtection
boolean | null

Response

Success

resourceHealthCheck
resource_health_check · object