Contents

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

NameTypeDescription
environment Requiredstring

The development or production environment to use for this access. For details, see Testing Your ClassKit Catalog Implementation.

identifierPath Requiredstring

The identifier path for the context to delete. Format this value as a URL-encoded JSON array of strings.

locale Requiredstring

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

StatusReasonTypeDescription
202Accepted

The API accepted but hasn’t completed the request. To ask for a status update later, see Get Status.

204No Content

The request succeeded.

400Bad Request

The request contained an error.

403Forbidden

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.

Example

See Also

Declaring Contexts