Skip to content
Management API Reference

Check whether JWT based legacy (anon, service_role) API keys are enabled. This API endpoint will be removed in the future, check for HTTP 404 Not Found.

get/v1/projects/{ref}/api-keys/legacy

OAuth scopes

  • secrets:read

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

  • api_gateway_keys_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429

Response (200)

1
{
2
"enabled": true
3
}