# Tape Lock Controller Resource

### GET /tape-lock

Returns list of tape locks filtered by specified query parameters.

Request Parameters
name | type | description
--- | --- | ---
tape | query |
tape-drive | query |
task | query |

Response Body
media type | data type | description
--- | --- | ---
application/json | array of TapeLockDetails (JSON) | list of tape locks filtered by specified query parameters

#### Example

##### Request

    GET /tape-lock
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    [ { } ]

### DELETE /tape-lock/{guid}

Remove tape lock.

Request Parameters
name | type | description
--- | --- | ---
guid | path | specify local unique identifier for tape lock (use by vProtect)

#### Example

##### Request

    DELETE /tape-lock/{guid}
    Content-Type: */*

    ...

##### Response

    HTTP/1.1 204 No Content

### GET /tape-lock/{guid}

Get a single tape lock.

Request Parameters
name | type | description
--- | --- | ---
guid | path | specify local unique identifier for tape lock (use by vProtect)

Response Body
media type | data type | description
--- | --- | ---
application/json | TapeLockDetails (JSON) | tape lock details

#### Example

##### Request

    GET /tape-lock/{guid}
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    { }