Skip to main content

Get a tag by type and value.

GET <your-unleash-url>/api/admin/tags/:type/:value

Authorization

name: Authorizationtype: apiKeyin: header

Get a tag by type and value. Can be used to check whether a given tag already exists in Unleash or not.

Request

Path Parameters

  • type string required
  • value string required
Responses

tagWithVersionSchema

Schema
  • version integer required

    The version of the schema used to model the tag.

  • tag objectrequired

    Representation of a tag

  • value string required

    Possible values: >= 2 characters and <= 50 characters

    The value of the tag

  • type string required

    Possible values: >= 2 characters and <= 50 characters

    Default value: simple

    The type of the tag

Authorization

name: Authorizationtype: apiKeyin: header

Request

Base URL
<your-unleash-url>
apiKey
type — path required
value — path required
curl / cURL
curl -L -X GET '<your-unleash-url>/api/admin/tags/:type/:value' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'