Skip to content

Request new credential-definition

POST
/ecosystem/{ecosystemId}/{orgId}/transaction/cred-def

Request new credential-definition

Authorizations

Parameters

Path Parameters

ecosystemId
required
string
orgId
required
string

Request Body required

object
endorse
required
boolean
tag
required
string
schemaId
required
string
schemaDetails
required
object
name
required
string
version
required
string
attributes
required
Array<string>
[
"name",
"id"
]

Responses

201

Created

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