![]() |
API Documentation
|
where {orgId} is the ID of an organization and {labelId} is the ID of one of this organization's classifications.
GET - used to retrieve information about an organization's classification, based on the classification's ID.DELETE - used to delete an organization's classification.Note: Both of these methods take no parameters.
This API endpoint serves a number of purposes:
GET method of the <access-service>/api/v1/organisations/{orgId}/labels API endpoint, which retrieves a list of information for all classifications in an organization. GET method call to this API endpoint is also returned in the response from a GET method call to the <access-service>/api/v1/organisations/{orgId}/labels endpoint. Therefore, if you do not require a classification's description when retrieving information about the classification, there is no need to call the GET method on this API endpoint.Be aware that by design and for security reasons, it is not possible to edit any aspect of a classification.
This API endpoint supports requests utilizing Covata user accounts with the following roles (as described in the Safe Share Administrator's and Organization Administrator's Guides) and conditions:
GET method, if this user is a member of the organization specified by the {orgId} of the request's URL.DELETE method, if this user is a member of the organization specified by the {orgId} of the request's URL.GET method.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.
The appropriate access token as the Bearer token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...A JSON-formatted response containing the following members:
priority - .
Example (response from ...):
If the request succeeded, then an HTTP response status 200 OK is returned.