Rejects a request for an action from a remote Guardian
Rejects a request for an action from a remote Guardian
Authorizations
Path parameters
messageIdstringRequiredExample:
Schema Rule Identifier
0000000000.000000001
Body
idstringRequiredExample:
000000000000000000000001
uuidstringRequiredExample:
00000000-0000-0000-0000-000000000000
namestringRequiredExample:
Policy name
descriptionstringRequiredExample:
Description
topicDescriptionstringRequiredExample:
Description
policyTagstringRequiredExample:
Tag
statusstring ยท enumRequiredExample:
DRAFT
Possible values: creatorstringRequiredExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
ownerstringRequiredExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
topicIdstringRequiredExample:
0.0.1
messageIdstringRequiredExample:
0000000000.000000001
codeVersionstringRequiredExample:
1.0.0
createDatestringRequiredExample:
1900-01-01T00:00:00.000Z
versionstringRequiredExample:
1.0.0
userRolestringRequiredExample:
Installer
userRolesstring[]RequiredExample:
["Installer"]
policyRolesstring[]RequiredExample:
["Registrant"]
categoriesstring[]Required
projectSchemastringRequiredExample:
00000000-0000-0000-0000-000000000000
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
put
PUT /api/v1/external-policies/requests/{messageId}/reject HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 1958
{
"id": "000000000000000000000001",
"uuid": "00000000-0000-0000-0000-000000000000",
"name": "Policy name",
"description": "Description",
"topicDescription": "Description",
"policyTag": "Tag",
"status": "DRAFT",
"creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"topicId": "0.0.1",
"messageId": "0000000000.000000001",
"codeVersion": "1.0.0",
"createDate": "1900-01-01T00:00:00.000Z",
"version": "1.0.0",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"userRole": "Installer",
"userRoles": [
"Installer"
],
"userGroup": {
"uuid": "00000000-0000-0000-0000-000000000000",
"role": "Installer",
"groupLabel": "Label",
"groupName": "Name",
"active": true
},
"userGroups": [
{
"uuid": "00000000-0000-0000-0000-000000000000",
"role": "Installer",
"groupLabel": "Label",
"groupName": "Name",
"active": true
}
],
"policyRoles": [
"Registrant"
],
"policyNavigation": [
{
"role": "Registrant",
"steps": [
{
"block": "Block tag",
"level": 1,
"name": "Step name"
}
]
}
],
"policyTopics": [
{
"name": "Project",
"description": "Project",
"memoObj": "topic",
"static": false,
"type": "any"
}
],
"policyTokens": [
{
"tokenName": "Token name",
"tokenSymbol": "Token symbol",
"tokenType": "non-fungible",
"decimals": "",
"changeSupply": true,
"enableAdmin": true,
"enableFreeze": true,
"enableKYC": true,
"enableWipe": true,
"templateTokenTag": "token_template_0"
}
],
"policyGroups": [
{
"name": "Group name",
"creator": "Registrant",
"groupAccessType": "Private",
"groupRelationshipType": "Multiple",
"members": [
"Registrant"
]
}
],
"categories": [
"text"
],
"projectSchema": "00000000-0000-0000-0000-000000000000",
"tests": [
{
"id": "000000000000000000000001",
"uuid": "00000000-0000-0000-0000-000000000000",
"name": "Test Name",
"policyId": "000000000000000000000001",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"status": "New",
"date": "1900-01-01T00:00:00.000Z",
"duration": 0,
"progress": 0,
"resultId": "00000000-0000-0000-0000-000000000000",
"result": "text"
}
]
}
{
"id": "000000000000000000000001",
"uuid": "00000000-0000-0000-0000-000000000000",
"name": "Policy name",
"description": "Description",
"topicDescription": "Description",
"policyTag": "Tag",
"status": "DRAFT",
"creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"topicId": "0.0.1",
"messageId": "0000000000.000000001",
"codeVersion": "1.0.0",
"createDate": "1900-01-01T00:00:00.000Z",
"version": "1.0.0",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"userRole": "Installer",
"userRoles": [
"Installer"
],
"userGroup": {
"uuid": "00000000-0000-0000-0000-000000000000",
"role": "Installer",
"groupLabel": "Label",
"groupName": "Name",
"active": true
},
"userGroups": [
{
"uuid": "00000000-0000-0000-0000-000000000000",
"role": "Installer",
"groupLabel": "Label",
"groupName": "Name",
"active": true
}
],
"policyRoles": [
"Registrant"
],
"policyNavigation": [
{
"role": "Registrant",
"steps": [
{
"block": "Block tag",
"level": 1,
"name": "Step name"
}
]
}
],
"policyTopics": [
{
"name": "Project",
"description": "Project",
"memoObj": "topic",
"static": false,
"type": "any"
}
],
"policyTokens": [
{
"tokenName": "Token name",
"tokenSymbol": "Token symbol",
"tokenType": "non-fungible",
"decimals": "",
"changeSupply": true,
"enableAdmin": true,
"enableFreeze": true,
"enableKYC": true,
"enableWipe": true,
"templateTokenTag": "token_template_0"
}
],
"policyGroups": [
{
"name": "Group name",
"creator": "Registrant",
"groupAccessType": "Private",
"groupRelationshipType": "Multiple",
"members": [
"Registrant"
]
}
],
"categories": [
"text"
],
"projectSchema": "00000000-0000-0000-0000-000000000000",
"tests": [
{
"id": "000000000000000000000001",
"uuid": "00000000-0000-0000-0000-000000000000",
"name": "Test Name",
"policyId": "000000000000000000000001",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"status": "New",
"date": "1900-01-01T00:00:00.000Z",
"duration": 0,
"progress": 0,
"resultId": "00000000-0000-0000-0000-000000000000",
"result": "text"
}
]
}
PreviousApproves a request for an action from a remote GuardianNextReturn a count of policy requests
Last updated