Hinkal WaaS
Add Policy
Add a policy to an organization
POST
/waas/add-policyhttps://api.hinkal.io/waas/add-policy
Root user only. Policies define which users can perform which transaction types.
Request body application/jsonrequired
| Name | Type | Description |
|---|---|---|
organizationIdrequired | string | |
policyrequired | object | |
policy.userIdsrequired | string[] | |
policy.actionTyperequired | string | |
noncerequired | string |
Responses
200Policies list
No body
400Bad request
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |
401Invalid or missing X-Stamp
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |
403Insufficient permissions
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |
500Internal server error
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |