---
title: Deactivate one-time use offer codes
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/patch-v1-subscriptionoffercodeonetimeusecodes-_id_
---

# Deactivate one-time use offer codes

Deactivate a batch of one-time use offer codes for an auto-renewable subscription.

## URL

PATCH https://api.appstoreconnect.apple.com/v1/subscriptionOfferCodeOneTimeUseCodes/{id}

## Path Parameters

id:

## Response Codes

200 OK: 400 Bad Request: 401 Unauthorized: 403 Forbidden: 404 Not Found: 409 Conflict: 422 : 429 :

## See Also

### Managing One-Time Use Offer Codes

- [Create one-time use offer codes](appstoreconnectapi/post-v1-subscriptionoffercodeonetimeusecodes.md)
- [Read one-time use offer code information](appstoreconnectapi/get-v1-subscriptionoffercodeonetimeusecodes-_id_.md)
- [List all one-time use offer codes for an auto-renewable subscription](appstoreconnectapi/get-v1-subscriptionoffercodes-_id_-onetimeusecodes.md)
- [List one-time use offer code values](appstoreconnectapi/get-v1-subscriptionoffercodeonetimeusecodes-_id_-values.md)
- [List one-time-use code IDs for a subscription offer code](appstoreconnectapi/get-v1-subscriptionoffercodes-_id_-relationships-onetimeusecodes.md)
