---
title: "Apply or update billing addons, including compute instance size"
method: PATCH
path: "/v1/projects/{ref}/billing/addons"
tags: ["Billing"]
---

# Apply or update billing addons, including compute instance size

`PATCH /v1/projects/{ref}/billing/addons`

Selects an addon variant, for example scaling the project’s compute instance up or down, and applies it to the project.

## Path parameters

- `ref` string, required

## Request body

- ApplyProjectAddonBody
  - `addon_variant` union, required
    - 'ci_micro' | 'ci_small' | 'ci_medium' | 'ci_large' | 'ci_xlarge' | 'ci_2xlarge' | 'ci_4xlarge' | 'ci_8xlarge' | 'ci_12xlarge' | 'ci_16xlarge' | 'ci_24xlarge' | 'ci_24xlarge_optimized_cpu' | 'ci_24xlarge_optimized_memory' | 'ci_24xlarge_high_memory' | 'ci_48xlarge' | 'ci_48xlarge_optimized_cpu' | 'ci_48xlarge_optimized_memory' | 'ci_48xlarge_high_memory'
    - 'cd_default'
    - 'pitr_7' | 'pitr_14' | 'pitr_28'
    - 'ipv4_default'
  - `addon_type` 'custom_domain' | 'compute_instance' | 'pitr' | 'ipv4' | 'auth_mfa_phone' | 'auth_mfa_web_authn' | 'log_drain' | 'etl_pipeline', required

## Response `200`

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded
- `500` — Failed to apply project addon

---

[API](https://skmtc.net/supabase/apis/management-api.md) · [All operations](https://skmtc.net/supabase/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/supabase/management-api/versions/a7cb39418064/schema)
