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:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. 'id DESC' Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, 'all' to return all results Validations:
|
Code | Description |
---|---|
404 | Lock could not be found. |
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 |
Id or name of the DLM lock Validations:
|
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:
|
dlmlock required |
Validations:
|
dlmlock[name] required |
Name Validations:
|
dlmlock[type] required |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] optional , nil allowed |
Enable the lock Validations:
|
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 |
Id or name of the DLM lock Validations:
|
dlmlock required |
Validations:
|
dlmlock[name] optional |
Name Validations:
|
dlmlock[type] optional |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] optional , nil allowed |
Enable the lock Validations:
|
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 |
Id or name of the DLM lock Validations:
|
This action acquires a lock. It fails, if the lock is currently taken by another host.
The host is authenticated via a client certificate and identified via the CN of that certificate.
Code | Description |
---|---|
200 | Lock acquired successfully. |
412 | Lock could not be acquired. |
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 |
Id or name of the DLM lock Validations:
|
This action releases a lock. It fails, if the lock is currently taken by another host.
The host is authenticated via a client certificate and identified via the CN of that certificate.
Code | Description |
---|---|
200 | Lock released successfully. |
412 | Lock could not be released. |
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 |
Id or name of the DLM lock Validations:
|