Skip to content
Management API Reference

Update project's SSL enforcement configuration.

put/v1/projects/{ref}/ssl-enforcement

This is an experimental endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.

This endpoint is currently in its Beta stage.

OAuth scopes

  • database:write

The fine-grained token must include the following permissions to access this endpoint:

  • database_ssl_config_write

Path parameters

  • ref
    Required
    string

    Project ref

Body

  • requestedConfig
    Required
    object

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

{
"currentConfig": {
"database": true
},
"appliedSuccessfully": true
}