Unleash Edge

Check which tokens are valid

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 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

Changed in 1 of the 7 revisions of this API.1

    • added the required property // to the response with the status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog