Setting Default Role

Set default role.

post

Set the role as default for new users.

Authorizations
Body
idstringRequired

Role Identifier

Example: 000000000000000000000001
Responses
200
Created role.
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