Skip to main content

UpsertPermissionRequest

uidstring

Unique identifier of the permission (optional for create, used for update identification)

codestringrequired

Code of the permission

typestringrequired

Type of the permission

Possible values: [ASSET, PROFILE, SCOPE, SCOPE_GROUP, REPORT, REPORT_GROUP]

subTypestring

Subtype of the permission

Possible values: [BUILDING, BUILDING_GROUP, FACILITY, PORTFOLIO, COMPANY, APPLICATION, RIGHT]

labelstringrequired

Display label of the permission

descriptionstring

Description of the permission

scopes object[]

Scopes associated with this permission

  • Array [
  • codestringrequired

    Code of the permission scope

  • ]
  • reports object[]

    Reports associated with this permission

  • Array [
  • uidstringrequired

    UID of the report to associate with this permission

  • ]
  • UpsertPermissionRequest
    {
    "uid": "string",
    "code": "string",
    "type": "ASSET",
    "subType": "BUILDING",
    "label": "string",
    "description": "string",
    "scopes": [
    {
    "code": "string"
    }
    ],
    "reports": [
    {
    "uid": "string"
    }
    ]
    }