PUT /api/bookmarks/980190962-foo
{
"bookmark": {
"public": false,
"controller": "hosts",
"name": "facts.architecture",
"query": " facts.architecture = x86_64"
}
}
200
{
"name": "facts.architecture",
"controller": "hosts",
"query": "facts.architecture = x86_64",
"public": false,
"id": 980190962,
"owner_id": 135138680,
"owner_type": "User"
}
| 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:
|