Skip to main content
GET
/
v2
/
databases
/
{database_id}
/
credentials
/
certificate
Get Certificate
curl --request GET \
  --url https://api.squarecloud.app/v2/databases/{database_id}/credentials/certificate \
  --header 'Authorization: <authorization>'
{
    "status": "success",
    "response": {
        "certificate": "CERTIFICATE_IN_BASE_64_FORMAT"
    }
}
Authorization
string
required
The API key for your account. You can find this in your account settings.

Parameters

database_id
string
required
The ID of the database.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The contents of the response.
{
    "status": "success",
    "response": {
        "certificate": "CERTIFICATE_IN_BASE_64_FORMAT"
    }
}