Skip to content

ibl-data-manager (4.84.1-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server
https://docs.ibl.ai/_mock/apis/ibl/
https://base.manager.iblai.app/
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Partially update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.

Security
PlatformApiKeyAuthentication
Path
idintegerrequired

A unique integer value identifying this RBAC Group.

Body
unique_idstring<= 255 characters

The unique identifier for the group

platform_keystringwrite-only

The platform key

namestring<= 255 characters

Optional name of the group

descriptionstring

Optional group description

users_to_addArray of integerswrite-only

List of user IDs to add to this group

users_to_removeArray of integerswrite-only

List of user IDs to remove from this group

curl -i -X PATCH \
  'https://docs.ibl.ai/_mock/apis/ibl/api/core/rbac/groups/{id}/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "unique_id": "string",
    "platform_key": "string",
    "name": "string",
    "description": "string",
    "users_to_add": [
      0
    ],
    "users_to_remove": [
      0
    ]
  }'

Responses

Bodyapplication/json
idintegerread-onlyrequired
unique_idstring<= 255 charactersrequired

The unique identifier for the group

platformobjectread-onlyrequired

Serializer for platforms.

platform.​idintegerread-onlyrequired
platform.​keystring<= 200 charactersrequired

The platform key

platform.​namestring or null<= 200 characters

The name of the platform

namestring<= 255 characters

Optional name of the group

descriptionstring

Optional group description

ownerobjectread-onlyrequired

Serializer for users.

owner.​idintegerread-onlyrequired

edX user ID

owner.​usernamestring or null<= 100 characters

edX username

owner.​emailstring or null(email)<= 254 characters

edX email

usersArray of objects(RbacUser)read-onlyrequired
users[].​idintegerread-onlyrequired

edX user ID

users[].​usernamestring or null<= 100 characters

edX username

users[].​emailstring or null(email)<= 254 characters

edX email

is_internalbooleanread-onlyrequired

When True, this group is internal to the system and cannot be viewed or modified by tenants via API endpoints.

Response
application/json
{ "id": 0, "unique_id": "string", "platform": { "id": 0, "key": "string", "name": "string" }, "name": "string", "description": "string", "owner": { "id": 0, "username": "string", "email": "user@example.com" }, "users": [ {} ], "is_internal": true }

Request

Delete an RBAC group and all associated group role assignments. Cannot delete internal system groups.

Security
PlatformApiKeyAuthentication
Path
idintegerrequired

A unique integer value identifying this RBAC Group.

Query
platform_keystringnon-emptyrequired

platform key for authorization check

curl -i -X DELETE \
  'https://docs.ibl.ai/_mock/apis/ibl/api/core/rbac/groups/{id}/?platform_key=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Group deleted successfully

Request

Retrieve current access information for a specific mentor, including all groups and users that have access with their respective roles.

Security
PlatformApiKeyAuthentication
Query
mentor_idintegerrequired

ID of the mentor to get access information for

platform_keystringrequired

Platform key where the mentor belongs

curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/core/rbac/mentor-access/?mentor_id=0&platform_key=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/jsonArray [
idintegerread-onlyrequired
namestringread-onlyrequired

Policy name. If not supplied, defaults to a UUID4

rolestringrequired

Role for accessing this mentor (viewer or editor)

resourcesanyread-onlyrequired

List of resources this policy applies to

usersArray of objects(RbacUser)read-onlyrequired
users[].​idintegerread-onlyrequired

edX user ID

users[].​usernamestring or null<= 100 characters

edX username

users[].​emailstring or null(email)<= 254 characters

edX email

groupsArray of objects(RbacPolicyGroup)read-onlyrequired
groups[].​idintegerread-onlyrequired
groups[].​namestring<= 255 characters

Optional name of the group

groups[].​unique_idstring<= 255 charactersrequired

The unique identifier for the group

groups[].​descriptionstring

Optional group description

]
Response
application/json
[ { "id": 0, "name": "string", "role": "string", "resources": null, "users": [], "groups": [] } ]
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations