Create Organization
POST/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
-
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
- application/json
Body
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
attributes
object[]
attributevalues
object
endpoints
object[]
entitlements
object[]
owners
object[]
roles
object[]
users
object[]
Responses
- 200
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
- application/json
- Schema
- Example (from schema)
- Create Organization 2
- createOrganization
Schema
{
"errorCode": "0",
"msg": "Success"
}
{
"errorCode": "0",
"msg": "Success"
}
{
"errorCode": "0",
"msg": "Success"
}