Admin

Get role-to-function report (R2F)

Changed on

Export the role-to-function (R2F) permission matrix.

  • Grain: one row per role and permission claim
  • Roles: Admin, Editor, and Viewer
  • Current state only: audit metadata columns (Created, Modified, CreatedBy, ModifiedBy) are blank

Requires an API key whose owner currently has company Administrator or workspace Administrator access.

get/admin/role-permissions

Request

  • Base URL
    https://api.unravelcarbon.com/api/v1
  • Auth
    HTTP bearer

Headers

Authorizationstring required
Example:Bearer <your_api_key>

Bearer token (API Key)

Response

Role-to-function permission matrix

Example response

{
  "data": [
    {
      "RoleName": "Admin",
      "FunctionCode": "invite:user",
      "FunctionDescription": "invite:user",
      "Role Active Status": 1
    }
  ]
}

Changes

    • warning

      removed the optional property data/items/Role Active Status (0 equal inactive, 1 equal active) from the response with the status

    • info

      added the optional property data/items/Role Active Status to the response with the status