Skip to content
Management API Reference

Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future, check for HTTP 404 Not Found.

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

OAuth scopes

  • secrets:write

Path parameters

  • ref
    Required
    string

    Project ref

Query parameters

  • enabled
    Required
    boolean

    Boolean string, true or false

Response codes

  • 200
  • 401
  • 403
  • 429

Response (200)

1
{
2
"enabled": true
3
}