Clear cache query responses for a specific content type

Request

Clears the cache of query responses that use a particular content type.

Security
Bearer
Path
branchstringrequired

The name of the branch to clear.

contentTypestringrequired

The ID of the content type to clear.

Query
api-versionstring
curl -i -X DELETE \
  'https://cs-graphqlapi-prod.sitecorecloud.io/api/v2/cache/{branch}/contenttype/{contentType}?api-version=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

The cache was successfully cleared

Response
No content