Create credential schema (v2)
POSTPermissions:/api/credential-schema/v2
CREDENTIAL_SCHEMA_CREATE
Creates a credential schema (v2), which supports multiple credential formats and per-claim technical key mappings.
The formats array is mandatory and must contain at least one entry.
Each entry specifies a format (mandatory) and an optional schemaId.
Claims may include a mapping array to specify per-format technical keys
and namespaces. When no mapping is specified, the claim key is used as the
technical key. For mdoc formats, the schemaId is used as the default namespace.
The optional batchSize must be at least 2 if specified.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
Created
Bad Request
Unauthorized
Forbidden
Entity Not Found
Internal error