Skip to content

Sends a credential definition to ledger

POST
/orgs/{orgId}/cred-defs

Sends a credential definition to ledger

Authorizations

Parameters

Path Parameters

orgId
required
string

Request Body required

object
tag
required
string
default
schemaLedgerId
required
string
WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0
orgDid
string
revocable
required
boolean

Responses

201

Success

object
message
required
string
Success
success
required
boolean
data
required
object
statusCode
required
number
200

401

Unauthorized

object
statusCode
required
number
401
error
required
string
Unauthorized

403

Forbidden

object
statusCode
required
number
403
error
required
string
Forbidden