Setting Default Role
Set the role as default for new users.
Authorizations
Body
idstringRequiredExample:
Role Identifier
000000000000000000000001
Responses
200
Created role.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
post
POST /api/v1/permissions/roles/default HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"id": "000000000000000000000001"
}
{
"uuid": "00000000-0000-0000-0000-000000000000",
"name": "Name",
"description": "Description",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"permissions": [
"POLICIES_POLICY_READ"
]
}
Last updated