light-mode-image
Learn
API ReferenceJSON

Update a presentation template

Roles

adminverifier

Analytics Events

PRESENTATION_WEB_SEMANTIC_TEMPLATE_UPDATE_STARTPRESENTATION_WEB_SEMANTIC_TEMPLATE_UPDATE_SUCCESSPRESENTATION_WEB_SEMANTIC_TEMPLATE_UPDATE_FAIL
PUT/v2/credentials/web-semantic/presentations/templates/{id}

Updates an existing presentation template by its ID.

Analytic events

  • PRESENTATION_WEB_SEMANTIC_TEMPLATE_UPDATE_START
  • PRESENTATION_WEB_SEMANTIC_TEMPLATE_UPDATE_SUCCESS
  • PRESENTATION_WEB_SEMANTIC_TEMPLATE_UPDATE_FAIL

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Presentation template ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/v2/credentials/web-semantic/presentations/templates/string" \  -H "Content-Type: application/json" \  -d '{    "domain": "string",    "name": "string",    "query": [      {        "type": "string",        "credentialQuery": [          {            "required": true,            "example": [              {                "@context": [                  null                ],                "type": "string",                "trustedIssuer": [                  {                    "required": true,                    "issuer": "string"                  }                ]              }            ]          }        ]      }    ]  }'
{  "id": "string",  "domain": "string",  "name": "string",  "query": [    {      "type": "string",      "credentialQuery": [        {          "required": true,          "reason": "string",          "example": [            {              "@context": [                null              ],              "type": "string",              "trustedIssuer": [                {                  "required": true,                  "issuer": "string"                }              ]            }          ]        }      ]    }  ]}

How would you rate this page?