Param Name | Description |
---|---|
location_id Optional |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties Validations:
|
search Optional |
filter resultaten Validations:
|
order Optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page Optional |
Page number, starting at 1 Validations:
|
per_page Optional |
Number of results per page to return Validations:
|
Code | Description |
---|---|
404 | Lock could not be found. |
Param Name | Description |
---|---|
location_id Optional |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties Validations:
|
dlmlock Required |
Validations:
|
dlmlock[name] Required |
Naam Validations:
|
dlmlock[type] Required |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] Optional , <span class="translation_missing" title="translation missing: nl-NL.apipie.nil_allowed">Nil Allowed</span> |
Enable the lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
dlmlock Required |
Validations:
|
dlmlock[name] Optional |
Naam Validations:
|
dlmlock[type] Optional |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] Optional , <span class="translation_missing" title="translation missing: nl-NL.apipie.nil_allowed">Nil Allowed</span> |
Enable the lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties 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 |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties 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 |
Scope met locaties Validations:
|
organization_id Optional |
Scope met organisaties Validations:
|
id Required |
Id or name of the DLM lock Validations:
|