Skip to main content

Create Privilege

PUT 

/createPrivilege

This API updates an endpoint in EIC. The Authorization must have a Bearer followed by a Token. Mandatory parameters: β€’ Endpoint β€’ Securitysystem β€’ Entitlementtype β€’ attributename Optional parameters: β€’attributetype((BOOLEAN/NUMBER/STRING/ENUM/MULTIPLE SELECT FROM LIST/MULTIPLE SELECT FROM SQL QUERY/SINGLE SELECT FROM SQL QUERY/PASSWORD/LARGE TEXT/CHECK BOX/DATE)), β€’ orderindex, β€’ defaultvalues, β€’ attributeconfig(entitlement-based/user-based), β€’ label, β€’ attributegroup, β€’ parentattribute, β€’ childaction, β€’ description, β€’ actionstring, β€’ required(true/false), β€’ requestable(true/false), β€’ hideoncreate(true/false), β€’ hideonupdate(true/false)

Request​

Body

    endpoint string
    entitlementtype string

    privilege

    object

    actionstring string
    attributeconfig string
    attributegroup string
    attributename string
    attributetype string
    childaction string
    defaultvalue string
    description string
    hideoncreate boolean
    hideonupdate boolean
    label string
    orderindex string
    parentattribute string
    requestable boolean
    required boolean
    securitysystem string

Responses​

Create Privilege

Response Headers

  • Access-Control-Allow-Credentials

    string

  • Access-Control-Allow-Origin

    string

  • Cache-Control

    string

  • Content-Language

    string

  • Content-Security-Policy

    string

  • Date

    string

  • Expires

    string

  • Permissions-Policy

    string

  • Referrer-Policy

    string

  • Strict-Transport-Security

    string

  • X-Content-Type-Options

    string

Schema

    any

Loading...