Summary
Create a new account for Local AAA instance.
Description
Create a new account for Local AAA instance in IAP.
Route
POST /user-management/accounts
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
account |
object |
yes |
An object containing all the account properties. |
Copied to Clipboard
{
"account": {
"username": "admin@pronghorn",
"password": "$2a$08$SLW8yGVhHUaXL5Hjgp30DOvYsY5Jx39AsiSzpUOn",
"groups": [
"pronghorn_admin",
"pronghorn_admin",
"pronghorn_admin",
"pronghorn_admin"
]
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"account": {
"title": "account",
"type": "object",
"properties": {
"username": {
"type": "string",
"examples": [
"admin@pronghorn"
]
},
"password": {
"type": "string",
"examples": [
"$2a$08$SLW8yGVhHUaXL5Hjgp30DOvYsY5Jx39AsiSzpUOn"
]
},
"groups": {
"type": "array",
"items": {
"type": "string",
"examples": [
"pronghorn_admin"
]
}
}
},
"required": [
"username",
"password"
]
}
},
"required": [
"account"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the account creation process. |
Copied to Clipboard
{
"status": "Created",
"message": "A sample success message",
"data": {
"metadata": {
"name": "@itentialopensource/cisco-nx-upgrade",
"version": "0.1.0",
"description": "A basic description",
"author": "Itential Artifacts",
"license": "Apache-2.0",
"repository": {
"type": "gitlab",
"hostname": "gitlab.com",
"path": "/itentialopensource/pre-built-automations"
},
"keywords": [
"Itential",
"Itential",
"Itential"
],
"gitlabId": 17866482
},
"manifest": {
"bundleName": "aggregateFunctions",
"artifacts": [
{
"id": "5e5ea3bd16da51d52b4a8f9f",
"name": "aggregateFunctions",
"type": "workflow",
"location": "/bundles/workflows/IAP Test Artifact Workflow.json"
}
],
"fingerprint": "5e84f892c5eab11ec2eee16d",
"createdEpoch": "1585772690392"
},
"bundles": [
{
"type": "forms"
},
{
"type": "transformation"
},
{
"type": "mop-analytic-template"
},
{
"type": "service-catalog"
},
{
"type": "automation"
}
],
"readme": "example of readme"
}
}