POST /api/organizations.text%2Fplain { "organization": { "name": "foo organization" } } 415 { "error": { "message": "'Content-Type: text/plain' is unsupported in API v2 for POST and PUT requests. Please use 'Content-Type: application/json'." } }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
organization required |
Validations:
|
organization[name] required |
Validations:
|
organization[description] optional , nil allowed |
Validations:
|
organization[user_ids] optional , nil allowed |
User IDs Validations:
|
organization[smart_proxy_ids] optional , nil allowed |
Smart proxy IDs Validations:
|
organization[compute_resource_ids] optional , nil allowed |
Compute resource IDs Validations:
|
organization[medium_ids] optional , nil allowed |
Medium IDs Validations:
|
organization[ptable_ids] optional , nil allowed |
Partition template IDs Validations:
|
organization[provisioning_template_ids] optional , nil allowed |
Provisioning template IDs Validations:
|
organization[domain_ids] optional , nil allowed |
Domain IDs Validations:
|
organization[realm_ids] optional , nil allowed |
Realm IDs Validations:
|
organization[hostgroup_ids] optional , nil allowed |
Host group IDs Validations:
|
organization[environment_ids] optional , nil allowed |
Environment IDs Validations:
|
organization[subnet_ids] optional , nil allowed |
Subnet IDs Validations:
|
organization[parent_id] optional , nil allowed |
Parent ID Validations:
|
organization[ignore_types] optional , nil allowed |
List of resources types that will be automatically associated Validations:
|
organization[location_ids] optional , nil allowed |
Associated location IDs Validations:
|