Admins Examples

    Prerequisites

    for example:

    1. export USERNAME=drogon
    2. export EMAIL=test@test.com
    3. export HOST=127.0.0.1:8001
    4. export ADMIN_TOKEN=Kong-Admin-Token:hunter2

    Extract and store the token from the registration URL, either by manually creating an environment variable or by echoing and piping with :

    Manual method example:

    1. Copy the response and export as an environment variable, for example:

      Programmatic method (requires jq):