Metadata APIs

Delete 2nd Level Metadata Label

OVERVIEW

Overview

Delete a 2nd level metadata label within Publisher

This API call is used to delete an individual 2nd level metadata label within the system. 

Since v5.1

HTTP Request

DELETE  /api/2/metadata/<ID>/categories/<CATEGORYID>/labels/<LABELID>

OR

DELETE  /api/2/metadata/<NAME>/categories/<CATEGORYID>/labels/<LABELID>

URL Parameters
Parameter Description
ID The ID of the metadata to delete a label within
NAME The name of the metadata to delete a label within
CATEGORYID The ID of the 1st level category that contains the label to be deleted
LABELID The ID of the 2nd level label to delete

 

HTTP Headers
HTTP Request Header Description Example
Authorization The API Authorisation token "Bearer XXXXXXXXXXXXX"

 

HTTP Response

Success

HTTP response 202 

(Example below)

 

Error

See API Error messages

 

Example HTTP Request & Response

DELETE http://example.com/context/api/2/metadata/3/categories/356/labels/465

 

Response

202

 

 

Comments


0 Comments

Last Updated: Nov 08,2024