Create Account
POST/createAccount
This method creates a new "account" for an "endpoint" in SSM. All the input parameters it requires are attributes with which the new account record would get created.
The Authorization
header variable must be set to Bearer
followed by Token
.
Mandatory params:
securitysystem
- not display name, endpoint
- not display name, name
- account name to be created
Optional params:
accountid
, username
- user for whom the account is created, requestor
- user who is creating the account,
accountowner
- owner of account
1.type
- usergroup / user, mandatory field 2. value
- usergroup name / username, mandatory field 3. rank
- values from 1-5, optional filed, Default: 1,
description
, displayname
, comments
, accountid
, customproperty<1-56>
, passwordchangestatus
, privileged
, usergroup
, status
- Manually Suspended/Manually Provisioned/SUSPENDED FROM IMPORT SERVICE/1/2/3/4, default: 1 accounttype
- Service Account/Shared Account/FIREFIGHTERID, defaul: null, incorrectlogons
, orphan
- true/false, validfrom
- MM-dd-yyyy, validthrough
- MM-dd-yyyy, lastlogondate
- MM-dd-yyyy, passwordlockdate
- MM-dd-yyyy, lastpasswordchange
- MM-dd-yyyy
Request
- application/json
Body
Array [
]
accountowner
object[]
Responses
- 200
Create Account Success / Create Account Failure
Response Headers
Date
string
Server
string
Set-Cookie
string
- application/json
- Schema
- Example (from schema)
- Create Account Failure
- Create Account Success
Schema
{
"errorCode": "0",
"message": "SUCCESS"
}
{
"errorCode": "1",
"message": "Account with name johnWS already exists."
}
{
"errorCode": "0",
"message": "SUCCESS"
}