Credentials
Cut the next immutable version of a schema (bumps version, deprecates the source).
Create the next immutable version of a credential schema. You provide the attributes for the new version. The response returns the new version and the full version family.
post/v1/credential-schemas/{uuid}/versions
Path parameters
uuidstring required
UUID of the source credential schema version.
Request body
Example request
{
"attributes": [
{
"name": "employee_id",
"sd": true
},
{
"name": "department",
"sd": false
},
{
"name": "clearance",
"sd": true
}
]
}Response
The next schema version was created.
Example response
{
"uuid": "315145dd-d88e-41ae-997f-d35e2e81edd0",
"name": "Employee Badge kgm1",
"vct": "EmployeeBadge",
"version": "1.1",
"format": "sd_jwt_vc",
"attributes": [
{
"name": "employee_id",
"sd": true
},
{
"name": "department",
"sd": false
},
{
"name": "clearance",
"sd": true
}
],
"branding": {},
"revocable": true,
"status": "active",
"supersedes": "c24a6fbe-3375-42d0-aead-c5f628f6a18d",
"created_at": "2026-07-02T23:33:33.637740Z",
"versions": [
{
"created_at": "2026-07-02T23:33:33.637740+00:00",
"is_latest": true,
"issued_count": 0,
"status": "active",
"supersedes": "c24a6fbe-3375-42d0-aead-c5f628f6a18d",
"uuid": "315145dd-d88e-41ae-997f-d35e2e81edd0",
"vct": "EmployeeBadge",
"version": "1.1"
},
{
"created_at": "2026-07-02T23:33:33.625738+00:00",
"is_latest": false,
"issued_count": 1,
"status": "deprecated",
"supersedes": null,
"uuid": "c24a6fbe-3375-42d0-aead-c5f628f6a18d",
"vct": "EmployeeBadge",
"version": "1.0"
}
]
}