---
title: Delete a Context
framework: ClassKit Catalog API
role: symbol
role_heading: Web Service Endpoint
platforms: [classkit 1.0+]
path: classkitcatalogapi/delete-a-context
---

# Delete a Context

Remove information that you previously stored about your app’s assignable activities.

## URL

DELETE https://classkit-catalog.apple.com/v1/contexts

## Query Parameters

environment: The development or production environment to use for this access. For details, see Testing Your ClassKit Catalog Implementation. identifierPath: The identifier path for the context to delete. Format this value as a URL-encoded JSON array of strings. locale: The locale of the context to delete. Use one of the identifiers supported by the Locale structure. It must match a locale that your app supports.

## Response Codes

202 Accepted: The API accepted but hasn’t completed the request. To ask for a status update later, see Get Status. 204 No Content: The request succeeded. 400 Bad Request: The request contained an error. 403 Forbidden: The request wasn’t authorized.

## Discussion

Discussion You can’t delete a context that has child contexts. Delete any child contexts before trying to delete their parent. Example

## See Also

### Declaring Contexts

- [Preparing Context Data](classkitcatalogapi/preparing-context-data.md)
- [Create or Replace Contexts](classkitcatalogapi/create-or-replace-contexts.md)
- [Get a Context](classkitcatalogapi/get-a-context.md)
- [Context](classkitcatalogapi/context.md)
- [ContextsRequest](classkitcatalogapi/contextsrequest.md)
- [ContextsResponse](classkitcatalogapi/contextsresponse.md)
