Skip to main content

Create Organization

POST 

https://example.saviyntcloud.com/ECM/api/v5/createOrganization

This API creates an organization in SSM. The Authorization must have Bearer followed by Token. Mandatory params: organizationname, username - user who is creating the organization Optional params: Organization Detail attributes can be passed like parentorganization, primarycontact, customproperty<1 to 20>, status etc. organizationtype - Type of Organization. Possible values: DATA SECURITY / GROUPING / REQUEST RULES roles - List of roles with params - 1. rolename rules - List of rules with params - 1. name 2. type - BUISNESS / TECH / USERUPDATE / NEWUSER / REMOVEUSER / UPDATE_ENTITLEMENT / NEW_ENTITLEMENT / REMOVE_ENTITLEMENT/REQUEST entitlements - List of entitlements with params - 1. entitlementvalue 2. entitlementtype 3. endpoint users - List of users with params - 1. username endpoints -

  1. endpointname 2. cp(1..5) owners - 1. owner 2. rank 3. policy(can be SUPERADMIN/ADMIN/BULKADMIN/READONLY) attributes - 1. attributegroupname 2. attributes 3. value 4. attributevalues

Request

Body

    attributes

    object[]

  • Array [

  • attributegroupnamestring
    Example: dfdf
    attributesstring
    Example: street,pincode

    attributevalues

    object

    pincodestring
    Example: 123456
    streetstring
    Example: treee
    valuestring
    Example: group val
  • ]

  • commentsstring
    Example: comment
    customproperty10string
    Example: cp10
    customproperty5string
    Example: cp5

    endpoints

    object[]

  • Array [

  • cp1string
    Example: cp1
    cp2string
    Example: cp2
    cp3string
    Example: cp3
    cp4string
    Example: cp4
    cp5string
    Example: cp5
    endpointnamestring
    Example: Office365
  • ]

  • entitlements

    object[]

  • Array [

  • endpointstring
    Example: Office365
    entitlementtypestring
    Example: O365-ADGroup
    entitlementvaluestring
    Example: AzureADSP
  • ]

  • locationstring
    Example: los angeles
    organizationnamestring
    Example: TestOrg5
    organizationtypestring
    Example: request rules

    owners

    object[]

  • Array [

  • ownerstring
    Example: admin
    ranknumber
    Example: 2
  • ]

  • parentorganizationstring
    Example: Globex
    primarycontactstring
    Example: awsadmin

    roles

    object[]

  • Array [

  • rolenamestring
    Example: ADT_AdmitSuperv_MCL
  • ]

  • statusstring
    Example: ACTIVE
    usernamestring
    Example: awsadmin

    users

    object[]

  • Array [

  • usernamestring
    Example: 1000003
  • ]

Responses

createOrganization / Create Organization 2

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: 0
    msgstring
    Example: Success

Authorization: http

name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
curl -L 'https://example.saviyntcloud.com/ECM/api/v5/createOrganization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"attributes": [
{
"attributegroupname": "dfdf",
"attributes": "street,pincode",
"attributevalues": {
"pincode": "123456",
"street": "treee"
},
"value": "group val"
}
],
"comments": "comment",
"customproperty10": "cp10",
"customproperty5": "cp5",
"endpoints": [
{
"cp1": "cp1",
"cp2": "cp2",
"cp3": "cp3",
"cp4": "cp4",
"cp5": "cp5",
"endpointname": "Office365"
},
{
"endpointname": "Salesforce"
}
],
"entitlements": [
{
"endpoint": "Office365",
"entitlementtype": "O365-ADGroup",
"entitlementvalue": "AzureADSP"
},
{
"endpoint": "Office365",
"entitlementtype": "O365-ADGroup",
"entitlementvalue": "DepartmentDynamicGroup"
}
],
"location": "los angeles",
"organizationname": "TestOrg5",
"organizationtype": "request rules",
"owners": [
{
"owner": "admin",
"rank": 2
},
{
"owner": "awsadmin",
"rank": 2
}
],
"parentorganization": "Globex",
"primarycontact": "awsadmin",
"roles": [
{
"rolename": "ADT_AdmitSuperv_MCL"
},
{
"rolename": "ADT_AdmitSuperv_MVH"
}
],
"status": "ACTIVE",
"username": "awsadmin",
"users": [
{
"username": "1000003"
},
{
"username": "1000005"
}
]
}'
Request Collapse all
Base URL
https://example.saviyntcloud.com/ECM/api/v5
Auth
Body
{
  "attributes": [
    {
      "attributegroupname": "dfdf",
      "attributes": "street,pincode",
      "attributevalues": {
        "pincode": "123456",
        "street": "treee"
      },
      "value": "group val"
    }
  ],
  "comments": "comment",
  "customproperty10": "cp10",
  "customproperty5": "cp5",
  "endpoints": [
    {
      "cp1": "cp1",
      "cp2": "cp2",
      "cp3": "cp3",
      "cp4": "cp4",
      "cp5": "cp5",
      "endpointname": "Office365"
    },
    {
      "endpointname": "Salesforce"
    }
  ],
  "entitlements": [
    {
      "endpoint": "Office365",
      "entitlementtype": "O365-ADGroup",
      "entitlementvalue": "AzureADSP"
    },
    {
      "endpoint": "Office365",
      "entitlementtype": "O365-ADGroup",
      "entitlementvalue": "DepartmentDynamicGroup"
    }
  ],
  "location": "los angeles",
  "organizationname": "TestOrg5",
  "organizationtype": "request rules",
  "owners": [
    {
      "owner": "admin",
      "rank": 2
    },
    {
      "owner": "awsadmin",
      "rank": 2
    }
  ],
  "parentorganization": "Globex",
  "primarycontact": "awsadmin",
  "roles": [
    {
      "rolename": "ADT_AdmitSuperv_MCL"
    },
    {
      "rolename": "ADT_AdmitSuperv_MVH"
    }
  ],
  "status": "ACTIVE",
  "username": "awsadmin",
  "users": [
    {
      "username": "1000003"
    },
    {
      "username": "1000005"
    }
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!