v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14106607606.1 KB

Deletes a key group.

You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.

To delete a key group, you must provide the key group's identifier and version. To get these values, use ListKeyGroups followed by GetKeyGroup or GetKeyGroupConfig.

delete/2020-05-31/key-group/{Id}

Path parameters

Idstring required

The identifier of the key group that you are deleting. To get the identifier, use <code>ListKeyGroups</code>.

Headers

If-Matchstring

The version of the key group that you are deleting. The version is the key group's <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code> or <code>GetKeyGroupConfig</code>.

Response

Success