1. Home
  2. Docs
  3. Kiwire ( v3 ) – API
  4. Role

Role



CREATE

Use POST method to create new subordinate resources.

Example request URIs

[POST] https://{{kiwire_ip}}/api/role/ Parameters Required
Parameter Value Description
tenant_id string Tenant ID or Tenant name of the API key
groupname string The name of the role
module_list string List of all available module to use, must be in Array



DELETE

Use DELETE method as the name applies to delete resources.

Example request URIs

[DELETE] https://{{kiwire_ip}}/api/role/{{tenant_id}}/{{groupname}}/


GET

Use GET method to retrieve resource information only and not to modify it in any way.

Example request URIs

[GET] https://{{kiwire_ip}}/api/role/ [GET] https://{{kiwire_ip}}/api/role/{{module_list}}/ [GET] https://{{kiwire_ip}}/api/role/{{tenant_id}}/{{groupname}}/