The task is used to unlock the locked service on the Service Virtualization server.
| Attribute | Description | Required |
| url | The server's management endpoint (e.g. https://localhost:6085/management or http://localhost:6080/management) | No (if you use the projectFile parameter). |
| username | Username for conencting to the server management endpoint. | No |
| password | Password for conencting to the server management endpoint. | No |
| service | The name of the service (or its ID) we want to unlock (lock, respectively). | Yes |
| lock | Whether we want to lock the service (with our client ID) right after the unlocking (default is no). | No |
<svunlock url="https://localhost:6085" username="HPSV" password="secret" service="My Virtual Service" />
Unlocks the service called "My Virtual Service".
<svunlock url="https://localhost:6085" username="HPSV" password="secret" service="My Virtual Service" lock="yes" />
Locks the service called "My Virtual Service" with your client ID (even if it is locked by another user).