ROCKITPLAY API
  1. Roles
ROCKITPLAY API
  • ROCKIT Edge - Admin API
    • Minimal Tests
      • ping
      • submit test task
    • Admin Edge Organizations
      • Create Organization
      • Delete Organization
  • ROCKIT Edge - Backend API
    • Backend Edge Organizations
      • Create Organization
      • Delete Organization
    • Authentication
      • user login
      • authentication
    • Account Management
      • get user details
      • list users
      • Modify user
      • delete users
      • Create User / Create Machine User
    • Deployments
      • Creating Deployments
      • Get Deployments
      • Get Deployment Details
      • Modify Deployment
      • Deleting Deployments
    • Apps
      • Creating Apps
      • Import native builds
      • App Details
      • List Apps
      • patch app
      • Delete Apps
    • Triggers
      • Process Traces
      • Retry Task
    • Tasks
      • Listing Tasks
      • Task Details
      • Acknowledge Warning / Expire Task
    • Subscriptions
      • Subscribe
      • List Subscriptions
      • Unsubscribe
    • Roles
      • List Roles
        GET
      • Create Role
        POST
      • Patch Role
        PATCH
      • Role Details
        GET
      • Delete Roles
        DELETE
  • Changelog
    • Changelog
  1. Roles

Role Details

GET
https://Example-Server.com/be/v1/roles/{roleName}
Last modified:2025-05-07 10:43:38
This endpoint allows you to list the details of a role of your organiztion on the ROCKIT Edge.

Required Permissions#

roles.read
See Roles for more details.

Request

Path Params

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://Example-Server.com/be/v1/roles/?fields[]=name' \
--header 'x-rockit-beauth-token: eyjhvcIhvds;huVODV...' \
--header 'x-rockit-orgname: ExampleOrg' \
--header 'x-rockit-username: adminPrincipal' \
--header 'x-rockit-api-key: {{_adminPrincipal_apiKey}}'

Responses

🟢200OK
application/json
Body

Example
{
    "status": "success",
    "role": {
        "_id": "681a14514752913f25d9af12",
        "orgName": "KuhlmannOrg",
        "name": "exampleRole",
        "perms": {
            "apps": 12,
            "beUsers": 7,
            "bundles": 11,
            "consumption": 2,
            "dependencies": 4,
            "deployments": 11,
            "keys": 15,
            "orgs": 0,
            "roles": 9,
            "sources": 8,
            "subscriptions": 4,
            "tasks": 31,
            "trainings": 3
        },
        "nUsers": 0,
        "users": []
    }
}
🟠400400: missing-param
🟠401401: token-expired
Modified at 2025-05-07 10:43:38
Previous
Patch Role
Next
Delete Roles
Built with