Last updated 10 months ago
Creates new role.
00000000-0000-0000-0000-000000000000
Name
Description
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
["POLICIES_POLICY_READ"]
ANALYTIC_POLICY_READ
ANALYTIC_MODULE_READ
ANALYTIC_TOOL_READ
ANALYTIC_SCHEMA_READ
ANALYTIC_DOCUMENT_READ
ARTIFACTS_FILE_READ
ARTIFACTS_FILE_CREATE
ARTIFACTS_FILE_DELETE
CONTRACTS_CONTRACT_READ
CONTRACTS_CONTRACT_EXECUTE
CONTRACTS_CONTRACT_MANAGE
MODULES_MODULE_READ
MODULES_MODULE_CREATE
MODULES_MODULE_UPDATE
MODULES_MODULE_DELETE
MODULES_MODULE_REVIEW
POLICIES_POLICY_READ
POLICIES_POLICY_CREATE
POLICIES_POLICY_UPDATE
POLICIES_POLICY_DELETE
POLICIES_POLICY_REVIEW
POLICIES_POLICY_EXECUTE
POLICIES_POLICY_MANAGE
SCHEMAS_SCHEMA_READ
SCHEMAS_SCHEMA_CREATE
SCHEMAS_SCHEMA_UPDATE
SCHEMAS_SCHEMA_DELETE
SCHEMAS_SCHEMA_REVIEW
TOOLS_TOOL_READ
TOOLS_TOOL_CREATE
TOOLS_TOOL_UPDATE
TOOLS_TOOL_DELETE
TOOLS_TOOL_REVIEW
TOKENS_TOKEN_READ
TOKENS_TOKEN_CREATE
TOKENS_TOKEN_UPDATE
TOKENS_TOKEN_DELETE
TOKENS_TOKEN_EXECUTE
TOKENS_TOKEN_MANAGE
TAGS_TAG_READ
TAGS_TAG_CREATE
SUGGESTIONS_SUGGESTIONS_READ
SUGGESTIONS_SUGGESTIONS_UPDATE
PERMISSIONS_ROLE_READ
PERMISSIONS_ROLE_CREATE
PERMISSIONS_ROLE_UPDATE
PERMISSIONS_ROLE_DELETE
PERMISSIONS_ROLE_MANAGE
ACCESS_POLICY_ALL
ACCESS_POLICY_ASSIGNED
ACCESS_POLICY_PUBLISHED
ACCESS_POLICY_ASSIGNED_AND_PUBLISHED
DELEGATION_ROLE_MANAGE
curl -L \ --request POST \ --url '/api/v1/permissions/roles' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "uuid": "00000000-0000-0000-0000-000000000000", "name": "Name", "description": "Description", "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001", "permissions": [ "POLICIES_POLICY_READ" ] }'
{ "uuid": "00000000-0000-0000-0000-000000000000", "name": "Name", "description": "Description", "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001", "permissions": [ "POLICIES_POLICY_READ" ] }