Roles
/roles.get
GET
https://admin-api.imid.infomaker.io/v1/roles.get
Get role by id
Query Parameters
Name | Type | Description |
---|---|---|
roleId | string | Role id |
/roles.list
GET
https://admin-api.imid.infomaker.io/v1/roles.list
List roles
Path Parameters
Name | Type | Description |
---|---|---|
string |
/roles.listMappedGroups
GET
https://admin-api.imid.infomaker.io/v1/roles.listMappedGroups
List all mapped groups by role id
Query Parameters
Name | Type | Description |
---|---|---|
roleId | string | Role id |
organizationId | string | Organization id |
/roles.assignToGroup
POST
https://admin-api.imid.infomaker.io/v1/roles.assignToGroup
Add group to role mapping
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
organizationId | string | Organization id |
group | string | Organization group name |
unitId | string | Unit id |
/roles.create
POST
https://admin-api.imid.infomaker.io/v1/roles.create
Create role
Request Body
Name | Type | Description |
---|---|---|
serviceId | string | Service id |
name | string | Service role name |
parentRoleId | string | Role id |
description | string | Description of speicific part xxx |
/roles.delete
POST
https://admin-api.imid.infomaker.io/v1/roles.delete
Delete role by id
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
/roles.mapPermission
POST
https://admin-api.imid.infomaker.io/v1/roles.mapPermission
Map permissision to role
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
permissionId | string | Permission id |
/roles.setDescription
POST
https://admin-api.imid.infomaker.io/v1/roles.setDescription
Set role description by id
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
description | string | Description of speicific part xxx |
/roles.setName
POST
https://admin-api.imid.infomaker.io/v1/roles.setName
Set role name by id
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
name | string | Service role name |
/roles.setParentRole
POST
https://admin-api.imid.infomaker.io/v1/roles.setParentRole
Set role parent role by id
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
parentRoleId | string | Role id |
/roles.unassignFromGroup
POST
https://admin-api.imid.infomaker.io/v1/roles.unassignFromGroup
Delete group to role mapping
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
organizationId | string | Organization id |
group | string | Organization group name |
unitId | string | Unit id |
/roles.unmapPermission
POST
https://admin-api.imid.infomaker.io/v1/roles.unmapPermission
Unmap permission from role
Request Body
Name | Type | Description |
---|---|---|
roleId | string | Role id |
permissionId | string | Permission id |
Last updated