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

Path Parameters

    path stringrequired

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

  • Connection

    string

  • Content-Language

    string

  • Content-Security-Policy

    string

  • Date

    string

  • Expires

    string

  • Permissions-Policy

    string

  • Pragma

    string

  • Referrer-Policy

    string

  • Strict-Transport-Security

    string

  • Transfer-Encoding

    string

  • X-Content-Type-Options

    string

  • X-Frame-Options

    string

  • X-XSS-Protection

    string

Schema

    any

Loading...