Skip to main content

Grant Role to Element User (v2.1)

POST 

/v2.1/api/tenants/:tenant_id/elementusers/:user_id/access

Grant a specific role to an element user on a specific element.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

    user_id stringrequired

    The element user ID.

Body

Details of the specific role for element user to be granted

    element_id stringrequired

    The element ID.

    id string

    The ID.

    role stringrequired

    Possible values: [SUPER, READONLY, MONITOR, EVAL]

    The user role.

    tenant_id stringrequired

    ID of the tenant.

    user_id string

    The element user ID.

Responses

Successful Operation

Schema
    element_id stringrequired

    The element ID.

    id string

    The ID.

    role stringrequired

    Possible values: [SUPER, READONLY, MONITOR, EVAL]

    The user role.

    tenant_id stringrequired

    ID of the tenant.

    user_id string

    The element user ID.

Loading...