Delete a Context
Remove information that you previously stored about your app’s assignable activities.
URL
DELETE https://classkit-catalog.apple.com/v1/contextsQuery Parameters
| Name | Type | Description |
|---|---|---|
environment Required | string | The development or production environment to use for this access. For details, see Testing Your ClassKit Catalog Implementation. |
identifierPath Required | string | The identifier path for the context to delete. Format this value as a URL-encoded JSON array of strings. |
locale Required | string | 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
| Status | Reason | Type | Description |
|---|---|---|---|
| 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
You can’t delete a context that has child contexts. Delete any child contexts before trying to delete their parent.