Metadata APIs

Delete 1st Level Metadata Category

OVERVIEW

Overview

Delete a 1st level metadata category within Publisher

This API call is used to delete an individual metadata category belonging to an existing metadata node within the system. 

Since v5.1

HTTP Request

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

OR

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

URL Parameters
Parameter Description
ID The ID of the metadata to delete a category within
NAME The name of the metadata to delete a category within
CATEGORYID The ID of the metadata category 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/465

 

Response

202

 

 

Comments


0 Comments

Last Updated: Nov 08,2024