PUT /api/bookmarks/980190962 { "bookmark": { "public": false, "controller": "hosts", "name": "foo-bar", "query": "" } } 422 { "error": { "id": 980190962, "errors": { "query": [ "can't be blank" ] }, "full_messages": [ "Search query can't be blank" ] } }
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:
|
id required |
Validations:
|
bookmark required |
Validations:
|
bookmark[name] optional |
Validations:
|
bookmark[controller] optional |
Validations:
|
bookmark[query] optional |
Validations:
|
bookmark[public] optional , nil allowed |
Validations:
|