POST /api/smart_proxies { "smart_proxy": { "name": "master02", "url": "" } } 422 { "error": { "id": null, "errors": { "url": [ "can't be blank", "URL must be valid and schema must be one of http and https" ] }, "full_messages": [ "Url can't be blank", "Url URL must be valid and schema must be one of http and https" ] } }
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:
|