POST /api/smart_proxies { "smart_proxy": { "name": "", "url": "http://server:8443" } } 422 { "error": { "id": null, "errors": { "name": [ "can't be blank" ] }, "full_messages": [ "Name can't be blank" ] } }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
smart_proxy required |
Validations:
|
smart_proxy[name] required |
Validations:
|
smart_proxy[url] required |
Validations:
|
smart_proxy[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
smart_proxy[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|