Assign Account to User
POSThttps://example.saviyntcloud.com/ECM/api/v5/assignAccountToUser
This method provisions an "Account" to a "User" in SSM. The "Account" corresponds to a particular IT Application (e.g Microsoft Active Directory) which is modeled in SSM as "Endpoint" of a "Security System".
Mandatory params:
securitysystem
- Name of the Security System for the relevant IT Application modeled in SSM.
endpoint
- Name of the Endpoint corresponding to the Security System.
accountname
- Account name for the provisioned account.
username
- Username of the user to whom the account has to be provisioned.
The Authorization
must have Bearer
followed by Token
.
Request
- application/x-www-form-urlencoded
Body
accountnamestring
Example:
johnWS
endpointstring
Example:
System1
securitysystemstring
Example:
System1
usernamestring
Example:
johndoe
Responses
- 200
Assign Account to User
Response Headers
- application/json
- Schema
- Example (from schema)
- Assign Account to User
Schema
errorCodestring
Example:
0
messagestring
Example:
SUCCESS
{
"errorCode": "0",
"message": "SUCCESS"
}
{
"errorCode": "0",
"message": "SUCCESS"
}
Authorization: http
name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://example.saviyntcloud.com/ECM/api/v5/assignAccountToUser' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
ResponseClear