Update a Credential Type
PUT {{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}
Use the PUT {{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}} operation to update a specific type of credential for issuance. A credential type corresponds to the Card type presented by the compatible wallet app.
If the updated credential type differs from the existing credential type, the service saves the existing credential type as a Credential Type Version and increments version.number in the updated credential type. Credential Type Versions can be read with Read All Credential Type Versions.
If you change management.mode from AUTOMATED to MANAGED and an associated issuance rule exists, the rule is disabled, but not deleted. If you change management.mode from MANAGED to AUTOMATED and no credential issuance rule exists for that credential type, no error occurs. That credential type is simply never issued.
Prerequisites
Create a credential type (automated) or Create a credential type (managed) to get a credentialTypeID for the endpoint. Refer also to Credential Types.
If management.mode is AUTOMATED, you can value one and only one of the three properties in the expiration object and the associated credential issuance rule automatically assigns an expiration date when it issues the credential. If management.mode is MANAGED and an expiration object is present, it causes an error.
If you want to change management.mode from AUTOMATED to MANAGED, but one of the three properties in the expiration object is valued, the body must have no expiration object, which removes it from the credential type, and set management.mode to MANAGED.
Request Model
Refer to Credential Types data model for full property descriptions.
| Property | Type | Required |
|---|---|---|
|
String |
Required |
|
String |
Optional |
|
String |
Optional |
|
Object |
Optional |
|
Object |
Required/Optional |
|
Integer |
Required |
|
String |
Required |
|
String |
Required/Optional |
|
String |
Required/Optional |
|
DateTime |
Required/Optional |
|
String |
Required |
|
String |
Optional |
|
String |
Optional |
|
Object |
Required |
|
Object |
Optional |
|
String |
Required |
|
Boolean |
Optional |
|
Object |
Optional |
|
Boolean |
Required |
|
String |
Required |
|
String |
Required |
|
String |
Optional |
metadata object data model
| Property | Type | Required |
|---|---|---|
|
String |
Optional |
|
String |
Optional |
|
String |
Optional |
|
String |
Optional |
|
Object[] |
Optional |
|
String |
Required/Optional |
|
String |
Optional |
|
String |
Required |
|
Boolean |
Required |
|
Boolean |
Optional |
|
String |
Required |
|
String |
Required |
|
String[] |
Required/Optional |
|
String |
Optional |
|
String |
Optional |
|
String |
Optional |
|
String |
Optional |
Body
raw ( application/json )
{
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData" : {
"showTitle" : true,
"displayFields" : [
{
"dataFieldName" : "Account",
"showFieldName": false
},
{
"dataFieldName" : "Name",
"showFieldName": true
}
]
}
}
Example Request
-
cURL
-
C#
-
Go
-
HTTP
-
Java
-
jQuery
-
NodeJS
-
Python
-
PHP
-
Ruby
-
Swift
curl --location --globoff --request PUT '{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{accessToken}}' \
--data '{
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData" : {
"showTitle" : true,
"displayFields" : [
{
"dataFieldName" : "Account",
"showFieldName": false
},
{
"dataFieldName" : "Name",
"showFieldName": true
}
]
}
}'
var options = new RestClientOptions("{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Put);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer {{accessToken}}");
var body = @"{" + "\n" +
@" ""title"": ""Title""," + "\n" +
@" ""description"": ""Subtitle""," + "\n" +
@" ""metadata"": {" + "\n" +
@" ""logoImage"": """"," + "\n" +
@" ""backgroundImage"": """"," + "\n" +
@" ""name"": ""Alphanumeric Text Example""," + "\n" +
@" ""description"": ""Alphanumeric Text Attribute""," + "\n" +
@" ""cardColor"": ""#9997bf""," + "\n" +
@" ""bgOpacityPercent"": 20," + "\n" +
@" ""fields"": [" + "\n" +
@" {" + "\n" +
@" ""id"": ""Alphanumeric Text -> Account""," + "\n" +
@" ""title"": ""Account""," + "\n" +
@" ""isVisible"": true," + "\n" +
@" ""required"" : true," + "\n" +
@" ""type"": ""Alphanumeric Text""," + "\n" +
@" ""value"": ""Value""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""Alphanumeric Text -> Name""," + "\n" +
@" ""title"": ""Name""," + "\n" +
@" ""isVisible"": true," + "\n" +
@" ""required"" : true," + "\n" +
@" ""type"": ""Alphanumeric Text""," + "\n" +
@" ""value"": ""Value""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""id"": ""Alphanumeric Text -> Number""," + "\n" +
@" ""title"": ""Number""," + "\n" +
@" ""isVisible"": true," + "\n" +
@" ""required"" : true," + "\n" +
@" ""type"": ""Alphanumeric Text""," + "\n" +
@" ""value"": ""Value""" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""textColor"": ""#253746""," + "\n" +
@" ""version"": 4" + "\n" +
@" }," + "\n" +
@" ""visualizationTemplateData"" : {" + "\n" +
@" ""showTitle"" : true," + "\n" +
@" ""displayFields"" : [" + "\n" +
@" { " + "\n" +
@" ""dataFieldName"" : ""Account""," + "\n" +
@" ""showFieldName"": false" + "\n" +
@" }," + "\n" +
@" { " + "\n" +
@" ""dataFieldName"" : ""Name""," + "\n" +
@" ""showFieldName"": true" + "\n" +
@" }" + "\n" +
@" ]" + "\n" +
@" }" + "\n" +
@"}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}"
method := "PUT"
payload := strings.NewReader(`{
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData" : {
"showTitle" : true,
"displayFields" : [
{
"dataFieldName" : "Account",
"showFieldName": false
},
{
"dataFieldName" : "Name",
"showFieldName": true
}
]
}
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Authorization", "Bearer {{accessToken}}")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
PUT /v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}} HTTP/1.1
Host: {{apiPath}}
Content-Type: application/json
Authorization: Bearer {{accessToken}}
{
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required" : true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData" : {
"showTitle" : true,
"displayFields" : [
{
"dataFieldName" : "Account",
"showFieldName": false
},
{
"dataFieldName" : "Name",
"showFieldName": true
}
]
}
}
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"title\": \"Title\",\n \"description\": \"Subtitle\",\n \"metadata\": {\n \"logoImage\": \"\",\n \"backgroundImage\": \"\",\n \"name\": \"Alphanumeric Text Example\",\n \"description\": \"Alphanumeric Text Attribute\",\n \"cardColor\": \"#9997bf\",\n \"bgOpacityPercent\": 20,\n \"fields\": [\n {\n \"id\": \"Alphanumeric Text -> Account\",\n \"title\": \"Account\",\n \"isVisible\": true,\n \"required\" : true,\n \"type\": \"Alphanumeric Text\",\n \"value\": \"Value\"\n },\n {\n \"id\": \"Alphanumeric Text -> Name\",\n \"title\": \"Name\",\n \"isVisible\": true,\n \"required\" : true,\n \"type\": \"Alphanumeric Text\",\n \"value\": \"Value\"\n },\n {\n \"id\": \"Alphanumeric Text -> Number\",\n \"title\": \"Number\",\n \"isVisible\": true,\n \"required\" : true,\n \"type\": \"Alphanumeric Text\",\n \"value\": \"Value\"\n }\n ],\n \"textColor\": \"#253746\",\n \"version\": 4\n },\n \"visualizationTemplateData\" : {\n \"showTitle\" : true,\n \"displayFields\" : [\n { \n \"dataFieldName\" : \"Account\",\n \"showFieldName\": false\n },\n { \n \"dataFieldName\" : \"Name\",\n \"showFieldName\": true\n }\n ]\n }\n}");
Request request = new Request.Builder()
.url("{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}")
.method("PUT", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer {{accessToken}}")
.build();
Response response = client.newCall(request).execute();
var settings = {
"url": "{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}",
"method": "PUT",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer {{accessToken}}"
},
"data": JSON.stringify({
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData": {
"showTitle": true,
"displayFields": [
{
"dataFieldName": "Account",
"showFieldName": false
},
{
"dataFieldName": "Name",
"showFieldName": true
}
]
}
}),
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var request = require('request');
var options = {
'method': 'PUT',
'url': '{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}',
'headers': {
'Content-Type': 'application/json',
'Authorization': 'Bearer {{accessToken}}'
},
body: JSON.stringify({
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData": {
"showTitle": true,
"displayFields": [
{
"dataFieldName": "Account",
"showFieldName": false
},
{
"dataFieldName": "Name",
"showFieldName": true
}
]
}
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
import requests
import json
url = "{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}"
payload = json.dumps({
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": True,
"required": True,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": True,
"required": True,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": True,
"required": True,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "#253746",
"version": 4
},
"visualizationTemplateData": {
"showTitle": True,
"displayFields": [
{
"dataFieldName": "Account",
"showFieldName": False
},
{
"dataFieldName": "Name",
"showFieldName": True
}
]
}
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer {{accessToken}}'
}
response = requests.request("PUT", url, headers=headers, data=payload)
print(response.text)
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}');
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Content-Type' => 'application/json',
'Authorization' => 'Bearer {{accessToken}}'
));
$request->setBody('{\n "title": "Title",\n "description": "Subtitle",\n "metadata": {\n "logoImage": "",\n "backgroundImage": "",\n "name": "Alphanumeric Text Example",\n "description": "Alphanumeric Text Attribute",\n "cardColor": "#9997bf",\n "bgOpacityPercent": 20,\n "fields": [\n {\n "id": "Alphanumeric Text -> Account",\n "title": "Account",\n "isVisible": true,\n "required" : true,\n "type": "Alphanumeric Text",\n "value": "Value"\n },\n {\n "id": "Alphanumeric Text -> Name",\n "title": "Name",\n "isVisible": true,\n "required" : true,\n "type": "Alphanumeric Text",\n "value": "Value"\n },\n {\n "id": "Alphanumeric Text -> Number",\n "title": "Number",\n "isVisible": true,\n "required" : true,\n "type": "Alphanumeric Text",\n "value": "Value"\n }\n ],\n "textColor": "#253746",\n "version": 4\n },\n "visualizationTemplateData" : {\n "showTitle" : true,\n "displayFields" : [\n { \n "dataFieldName" : "Account",\n "showFieldName": false\n },\n { \n "dataFieldName" : "Name",\n "showFieldName": true\n }\n ]\n }\n}');
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
require "uri"
require "json"
require "net/http"
url = URI("{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Put.new(url)
request["Content-Type"] = "application/json"
request["Authorization"] = "Bearer {{accessToken}}"
request.body = JSON.dump({
"title": "Title",
"description": "Subtitle",
"metadata": {
"logoImage": "",
"backgroundImage": "",
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"cardColor": "\#9997bf",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"required": true,
"type": "Alphanumeric Text",
"value": "Value"
}
],
"textColor": "\#253746",
"version": 4
},
"visualizationTemplateData": {
"showTitle": true,
"displayFields": [
{
"dataFieldName": "Account",
"showFieldName": false
},
{
"dataFieldName": "Name",
"showFieldName": true
}
]
}
})
response = http.request(request)
puts response.read_body
let parameters = "{\n \"title\": \"Title\",\n \"description\": \"Subtitle\",\n \"metadata\": {\n \"logoImage\": \"\",\n \"backgroundImage\": \"\",\n \"name\": \"Alphanumeric Text Example\",\n \"description\": \"Alphanumeric Text Attribute\",\n \"cardColor\": \"#9997bf\",\n \"bgOpacityPercent\": 20,\n \"fields\": [\n {\n \"id\": \"Alphanumeric Text -> Account\",\n \"title\": \"Account\",\n \"isVisible\": true,\n \"required\" : true,\n \"type\": \"Alphanumeric Text\",\n \"value\": \"Value\"\n },\n {\n \"id\": \"Alphanumeric Text -> Name\",\n \"title\": \"Name\",\n \"isVisible\": true,\n \"required\" : true,\n \"type\": \"Alphanumeric Text\",\n \"value\": \"Value\"\n },\n {\n \"id\": \"Alphanumeric Text -> Number\",\n \"title\": \"Number\",\n \"isVisible\": true,\n \"required\" : true,\n \"type\": \"Alphanumeric Text\",\n \"value\": \"Value\"\n }\n ],\n \"textColor\": \"#253746\",\n \"version\": 4\n },\n \"visualizationTemplateData\" : {\n \"showTitle\" : true,\n \"displayFields\" : [\n { \n \"dataFieldName\" : \"Account\",\n \"showFieldName\": false\n },\n { \n \"dataFieldName\" : \"Name\",\n \"showFieldName\": true\n }\n ]\n }\n}"
let postData = parameters.data(using: .utf8)
var request = URLRequest(url: URL(string: "{{apiPath}}/v1/environments/{{envId}}/credentialTypes/{{credentialTypeID}}")!,timeoutInterval: Double.infinity)
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
request.addValue("Bearer {{accessToken}}", forHTTPHeaderField: "Authorization")
request.httpMethod = "PUT"
request.httpBody = postData
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
Example Response
200 OK
{
"_links": {
"self": {
"href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/credentialTypes/41fc9049-f742-4d5f-8950-e343ade4a48a"
},
"environment": {
"href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"credentialIssuerProfile": {
"href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/credentialIssuerProfile"
},
"issuanceRules": {
"href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/credentialTypes/41fc9049-f742-4d5f-8950-e343ade4a48a/issuanceRules"
}
},
"id": "41fc9049-f742-4d5f-8950-e343ade4a48a",
"createdAt": "2025-02-28T20:48:10.792Z",
"updatedAt": "2025-02-28T21:03:45.086159649Z",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"issuer": {
"id": "824c722c-254a-4b2d-9b50-17e2abdf5f8a"
},
"management": {
"mode": "AUTOMATED"
},
"title": "Title",
"description": "Subtitle",
"cardType": "Title",
"uri": "https://api.pingone.com/v1/distributedid/credentialTypes/41fc9049-f742-4d5f-8950-e343ade4a48a",
"version": {
"number": 2,
"uri": "https://api.pingone.com/v1/distributedid/credentialTypes/41fc9049-f742-4d5f-8950-e343ade4a48a/v2",
"id": "4638de82-f14b-4665-851c-17bf71cebc22"
},
"metadata": {
"name": "Alphanumeric Text Example",
"description": "Alphanumeric Text Attribute",
"textColor": "#253746",
"cardColor": "#9997bf",
"backgroundImage": "",
"logoImage": "",
"bgOpacityPercent": 20,
"fields": [
{
"id": "Alphanumeric Text -> Account",
"title": "Account",
"isVisible": true,
"type": "Alphanumeric Text",
"value": "Value",
"required": true
},
{
"id": "Alphanumeric Text -> Name",
"title": "Name",
"isVisible": true,
"type": "Alphanumeric Text",
"value": "Value",
"required": true
},
{
"id": "Alphanumeric Text -> Number",
"title": "Number",
"isVisible": true,
"type": "Alphanumeric Text",
"value": "Value",
"required": true
}
],
"version": 4
},
"onDelete": {
"revokeIssuedCredentials": true
},
"visualizationTemplateData": {
"showTitle": true,
"displayFields": [
{
"showFieldName": false,
"dataFieldName": "Account"
},
{
"showFieldName": true,
"dataFieldName": "Name"
}
]
}
}