Skip to navigation

Delete a preference

Deletes the key. If-Match is required: the version you read, or * to delete whatever is stored. A key you have not written is 404; a stale version is 412 with currentVersion. A later write of the key starts a fresh row whose version never repeats an earlier one.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

keystringRequired
The key, matched exactly.

Headers

If-MatchstringRequired

Required on every entity write: the ETag the read minted, quoted or bare, the version this write was computed against, or * to write unconditionally on purpose. Absent is 428 PRECONDITION_REQUIRED; a weak validator or a list 400 INVALID_IF_MATCH; a stale value 412 VERSION_CONFLICT with currentVersion and a fresh ETag: re-read, reapply, retry. Every write restates the whole record, so a * write overwrites every field from your copy. State the version unless you mean the overwrite.

X-Request-IdstringOptional

Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

Errors

400
Delete Preferences Request Bad Request Error
401
Delete Preferences Request Unauthorized Error
404
Delete Preferences Request Not Found Error
412
Delete Preferences Request Precondition Failed Error
428
Delete Preferences Request Precondition Error
501
Delete Preferences Request Not Implemented Error
503
Delete Preferences Request Service Unavailable Error