Skip to main content

Get Tags from Application

Endpoint: GET /api/applications/{id}/tags

Retrieves the tags associated with an application.

Path parameters

ParameterDescriptionTypeRequired/ Optional
idThe unique identifier of the application from which the tags are to be retrieved.stringRequired.

Response

Returns an array of tag objects, each containing a key-value pair. Returns an empty array if the application has no tags.

Examples

Get tags from an application

Request

curl -X 'GET' \
'https://<YOUR-SERVER-URL>/api/applications/db66991f-206f-4695-8fe9-f5d53976c9a8/tags' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>'

Response

[
{
"key": "dev",
"value": "automation"
}
]