Skip to main content

Create/Update Entitlement

POST 

/createUpdateEntitlement

This method creates a new "entitlementvalue" for an "endpoint" in SSM. All the input parameters it requires are attributes with which the new account record would get created.

Ensure: The Authorization header variable must be set to Bearer followed by Token.

Mandatory params:

endpoint, entitlementtype, entitlement_value

Optional params:

attributes for Entitlement_values,

entitlementowner<N> - N is the rank, entitlementowner modifies entitlementowner with rank 1, entitlementowner3 - modifies entitlementowner with rank 3,

entitlementID,newentitlement_value - used to update the entitlement if multiple entitlements with same entitlement_value are present under the same entitlementtype and endpoint

entitlementcasecheck(can be true or false, default : false) - If true, entitlement value search will be case sensitive during create or update.

entitlement_valuekey

updatedentitlement_value - new value for entitlement_value

entitlementmap -

  1. entitlementvalue
  2. entitlementtype
  3. endpoint
  4. requestfilter
  5. excludeentitlement
  6. adddependenttask
  7. removedependententtask
  8. updateType(ADD/REMOVE, default : ADD)

Request

Body

    endpoint string
    entitlement_value string
    entitlementtype string
    status number
    updatedentitlement_value string

Responses

Create/Update Entitlement

Response Headers

  • Access-Control-Allow-Credentials

    string

  • Access-Control-Allow-Origin

    string

  • Cache-Control

    string

  • Date

    string

  • Expires

    string

  • Referrer-Policy

    string

  • Server

    string

  • Set-Cookie

    string

  • Strict-Transport-Security

    string

  • X-Content-Type-Options

    string

  • X-Frame-Options

    string

Schema

    entitlementObj

    object

    description string
    displayname string
    endpoint string
    entitlementID string
    entitlementOwner string
    entitlementType string
    entitlement_glossary string
    entitlement_value string
    entitlement_valuekey string
    requestForm string
    soxcritical string
    status string
    syscritical string
    errorCode string
    msg string
Loading...