Tokenizer/Tokens/Actions
Resolve Token
This endpoint receives a list of tokens, applies the associated access policy for each token, and returns the associated token data if the conditions of the access policy are met.
curl -X POST "https://your-tenant-name.tenant.userclouds.com/tokenizer/tokens/actions/resolve" \
-H "Content-Type: application/json" \
-d '{}'
const body = JSON.stringify({})
fetch("https://your-tenant-name.tenant.userclouds.com/tokenizer/tokens/actions/resolve", {
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://your-tenant-name.tenant.userclouds.com/tokenizer/tokens/actions/resolve"
body := strings.NewReader(`{}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://your-tenant-name.tenant.userclouds.com/tokenizer/tokens/actions/resolve"
body = {}
response = requests.request("POST", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)
[
{
"data": "string",
"token": "string"
}
]
Empty
Empty
Empty