Jump to: navigation, search

Delete Metadata Identification Keys

Important
Prerequisites: You need to enable profiles in UCS.
/metadata/identification-keys/${id_key-name}

Description

Allows the deletion of Identification keys. The records in metadata table are removed, and the related table is dropped (if any). An identification key can be created based on the core profile attribute, but in this case a table is not created. Therefore, no table is dropped when it is deleted.

Operation

ID CV.WS.PROF.META.8
URI /metadata/identification-keys/${id_key-name}
Method DELETE
Parameter Type Mandatory Description
URI Parameter
${id_key-name} string yes The metadata identification key name to delete. This name is not case-sensitive.

Response

The Context Management Service API answers with HTTP codes for every request. The following table shows the correct response for a successful request. See HTTP Response Codes and Errors for further details on the possible codes that this operation can return.

Response
HTTP code 204
HTTP message Success No Content

Example

The following operation deletes an identification key.

Operation

 DELETE /metadata/identification-keys/idNickName

Result

HTTP/1.1 204 OK 
Success No Content
Important
If nothing was deleted, HTTP status code 404 ("Not Found") is sent.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 27 April 2017, at 03:04.