Skip to main content

Create/Update UserGroup

POST 

/createUpdateUserGroup

This API create or update usergroup in SSM. The Authorization must have Bearer followed by Token. Mandatory params: usergroup, username Optional params: user_groupdescription, users -

  1. username (mandatory),
  2. updateType - ADD/REMOVE (optional), entitlements -
  3. endpoint (mandatory),
  4. entitlement_type (mandatory),
  5. entitlement_value (mandatory),
  6. updateType ADD/REMOVE (optional), owners -
  7. username (mandatory),
  8. updateType - ADD/REMOVE/SETRANK (optional),
  9. rank (optional)

Request

Body

    entitlements

    object[]

  • Array [

  • endpointstring
    Example: Oracle
    entitlement_typestring
    Example: OEBS-Responsibility
    entitlement_valuestring
    Example: FIXED_ASSET_INQUIRY_TECH_IN
    updateTypestring
    Example: ADD
  • ]

  • owners

    object[]

  • Array [

  • rankstring
    Example: 2
    updateTypestring
    Example: ADD
    usernamestring
    Example: G000706
  • ]

  • user_groupdescriptionstring
    Example: ADOwnerGroupdesc
    usergroupstring
    Example: ADOwnerGroup
    usernamestring
    Example: admin

    users

    object[]

  • Array [

  • updateTypestring
    Example: ADD
    usernamestring
    Example: U003961
  • ]

Responses

Create/Update UserGroup

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

    errorCodestring
    Example: 1
    msgstring
    Example: user U003961 already present in usergroup. user M0014 does not exist in usergroup. entitlement FIXED_ASSET_INQUIRY_TECH_IN already present in usergroup. entitlement FIXED_ASSET_INQUIRY_SOFT_IN does not exist in usergroup. owner G000706 is already present. Owner U009075 does not exist in usergroup. owner G000526 is not present.
    usergroupkeystring
    Example: 2