Unleash Edge

Check which tokens are valid

Changed on

This operation accepts a list of tokens to validate. Unleash will validate each token you provide. For each valid token you provide, Unleash will return the token along with its type and which projects it has access to.

post/edge/validate

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/edge/validate
  • Auth
    none required

Request body

tokensstring[] required

Tokens that we want to get access information about

Example request

{
  "tokens": [
    "aproject:development.randomstring",
    "[]:production.randomstring"
  ]
}

Response

validatedEdgeTokensSchema

Example response

{
  "tokens": [
    {
      "projects": [
        "developerexperience",
        "enterprisegrowth"
      ],
      "environment": "development",
      "type": "client",
      "token": "*:development.5c806b5320c88cf27e81f3e9b97dab298a77d5879316e3c2d806206b"
    }
  ]
}

Changes