Tokenizer/Policies/Accesstemplate/Id
Update Access Policy Template
This endpoint updates a specified access policy template.
curl -X PUT "https://your-tenant-name.tenant.userclouds.com/tokenizer/policies/accesstemplate/248df4b7-aa70-47b8-a036-33ac447e668d" \
  -H "Content-Type: application/json" \
  -d '{}'const body = JSON.stringify({})
fetch("https://your-tenant-name.tenant.userclouds.com/tokenizer/policies/accesstemplate/248df4b7-aa70-47b8-a036-33ac447e668d", {
  body
})package main
import (
  "fmt"
  "net/http"
  "io/ioutil"
  "strings"
)
func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/tokenizer/policies/accesstemplate/248df4b7-aa70-47b8-a036-33ac447e668d"
  body := strings.NewReader(`{}`)
  req, _ := http.NewRequest("PUT", 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/policies/accesstemplate/248df4b7-aa70-47b8-a036-33ac447e668d"
body = {}
response = requests.request("PUT", url, json = body, headers = {
  "Content-Type": "application/json"
})
print(response.text){
  "created": "2019-08-24T14:15:22Z",
  "deleted": "2019-08-24T14:15:22Z",
  "description": "string",
  "function": "string",
  "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "is_system": true,
  "name": "string",
  "updated": "2019-08-24T14:15:22Z",
  "version": 0
}Empty
Empty
Empty
Empty