Create an AWS Organization
Select
SaaS
Customer Managed
Create an organization.
Only one organization can be created for each organization present in AWS.
- application/json
Request Body
- displayName string
credential object required
- accessNodes object[] required
List of servers and server groups to use to access the organization
tagContents object
accountDiscoveryDetails object
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorType AWSOrganizationErrorType
Possible values: [
UNKNOWN
,INVALID_REQUEST
,ACCESS_NODE_COMMUNICATION_FAILED
,SERVICE_ENDPOINT_NOT_REACHABLE
,CREDENTIAL_INVALID
,NOT_ENOUGH_PERMISSIONS
,ALL_ACCOUNTS_FAILED_DISCOVERY
]Type of AWS Organization specific error that occured
- errorMessage string
{
"errorType": "UNKNOWN",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/cloud/aws/organization
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/AWS/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credential": {
"credentialType": "CREDENTIALS_MANAGER_CREDENTIAL",
"credentialId": 0,
"awsIamRoleArn": "string",
"awsExternalId": "string"
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"tagContents": {
"tagType": "ORGANIZATIONAL_UNIT_TAG",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"accountDiscoveryDetails": {
"roleNameWithPath": "string",
"backupServiceAccountId": "string",
"accountAccessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
]
}
}'