---
title: "Update Application Availability"
method: PATCH
path: "/v2/projects/{id}/applications/{application_id}/availability"
tags: ["Projects V2"]
---

# Update Application Availability

`PATCH /v2/projects/{id}/applications/{application_id}/availability`

Enables or disables all paywalls for an application. Requires applications:write scope.

## Path parameters

- `id` string, required — Project ID
- `application_id` string, required — Application ID

## Request body

- object
  - `globally_disabled` boolean, required — Whether all paywalls should be disabled for this application

## Response `200`

Success

- object
  - `object` 'application_availability_update', required — Object type, always `application_availability_update`
  - `project_id` string, required — Project ID
  - `application_id` string, required — Application ID
  - `globally_disabled` boolean, required — Whether all paywalls are disabled for this application

## Other responses

- `400` — The request did not match the expected schema
- `401` — No API key was provided in the request
- `403` — The API key does not have permission to perform this action
- `404` — The requested resource was not found
- `429` — Too many requests have been made in a short period
- `500` — An unexpected error occurred on the server

---

[API](https://skmtc.dev/superwall/apis/superwall-api-v2.md) · [All operations](https://skmtc.dev/superwall/apis/superwall-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/superwall/superwall-api-v2/revisions/e04f76c478af/schema)
