Updates a contract definition with the given ID
Updates a contract definition with the given ID
- application/json
Request Body required
- id string
- name string
- assetsSelector object[]
- accessPolicyId string
- usagePolicyId string
Responses
- 200
- 400
- 403
- 404
Contract definition was updated successfully
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
{
"message": "string",
"level": "string"
}
Request body was malformed
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Operation denied
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Contract definition with given id is not found
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Loading...