Skip to content

Organization roles

Roles of an organization.

Every call needs the project’s API key in x-header-apikey. See Authentication. Errors use the codes in Error codes.

Read the role tree of the organization that owns the calling project

Section titled “Read the role tree of the organization that owns the calling project”
GET https://openapi.rogo.com.vn/api/v2.0/iot-core/org-auth/roles

Roles carry only the permission keys the organization itself defined. Inheritance is not flattened: each role names its parent and the caller resolves the chain, so a parent edited here is reflected on the next read.

Terminal window
curl -X GET "https://openapi.rogo.com.vn/api/v2.0/iot-core/org-auth/roles" \
-H "x-header-apikey: $API_KEY"
Status Meaning
200