URL structure
{labelId} is the ID of a label.
Supported methods and overview
GET- used to retrieve information about an existing label, based on the label’s ID.DELETE- used to delete an exiting label.
Both of these methods take no parameters.
Detailed description
This API endpoint serves a number of purposes:-
Retrieves information about an existing label, using the label’s ID. A label’s ID can be obtained by calling the
GETmethod of the <access-service>/api/v1/labels API endpoint, which retrieves a list of field information for all existing labels on the Covata Platform.
Tip: All information (except the description member) returned in the response from aGETmethod call to this API endpoint is also returned in the response from aGETmethod call to the <access-service>/api/v1/labels endpoint. Therefore, if you do not require a label’s description when retrieving information about the label, there is no need to call theGETmethod on this API endpoint. -
Deletes an existing label from the Covata Platform.
Important: Deleting a label from the Covata Platform also removes:- this label from all new and existing Secure Objects it had been applied to and more importantly,
- removes all current collaborators from these Secure Objects.
Supported roles
This API endpoint supports the following Covata user roles (as described in the Covata Platform Administrator’s Guide): The Covata Platform’s resources available to one of these Covata users (above) is determined by the access token passed in the header of requests to this endpoint.Required headers
The appropriate access token as theBearer token:
Authorization: Bearer a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6
Returns from a GET request
A JSON-formatted response containing the following members:- id - .
- name - .
- description - .
- priority - . Example (response from …):
Returns from a DELETE request
If the request succeeded, then an HTTP response status200 OK is returned.
