Permissions

/permissions.get

GET https://admin-api.imid.infomaker.io/v1/permissions.get

Get permission by id

Query Parameters

Name
Type
Description

permissionId

string

Permission id

{
  "id": "Permission id",
  "serviceId": "dashboard",
  "name": "plugin/getAvailable",
  "description": "Description of speicific part xxx",
  "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
}

/permissions.list

GET https://admin-api.imid.infomaker.io/v1/permissions.list

List permissions

Path Parameters

Name
Type
Description

string

[
  {
    "id": "Permission id",
    "serviceId": "dashboard",
    "name": "plugin/getAvailable",
    "description": "Description of speicific part xxx",
    "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
  }
]

/permissions.create

POST https://admin-api.imid.infomaker.io/v1/permissions.create

Create permission

Request Body

Name
Type
Description

serviceId

string

Service id

name

string

Service permission name

description

string

Description of speicific part xxx

{
  "id": "Permission id",
  "serviceId": "dashboard",
  "name": "plugin/getAvailable",
  "description": "Description of speicific part xxx",
  "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
}

/permissions.delete

POST https://admin-api.imid.infomaker.io/v1/permissions.delete

Delete permission by id

Request Body

Name
Type
Description

permissionId

string

Permission id

{}

/permissions.setDescription

POST https://admin-api.imid.infomaker.io/v1/permissions.setDescription

Set permission description by id

Request Body

Name
Type
Description

permissionId

string

Permission id

description

string

Description of speicific part xxx

{
  "description": "Description of speicific part xxx"
}

/permissions.setName

POST https://admin-api.imid.infomaker.io/v1/permissions.setName

Set permission name by id

Request Body

Name
Type
Description

permissionId

string

Permission id

name

string

Service permission name

{
  "name": "plugin/getAvailable"
}

Last updated