• Document Up to Date
  • Updated On 4.0.3

Unlock Target

Clear git lock of a Crafter Deployer target.

Resource Information

This service uses the deployer application on port 9191 by default. To see a list of default ports click here

The context for this API is /.

HTTP Verb
POST
URL
/api/1/target/unlock/:env/:site_name
Response Formats
JSON

Parameters

Name
Type
Required
Description
env
String
The target’s environment (e.g. dev).
site_name
String
The target’s site name (e.g. mysite).
token
String
The authorization token

Example

Request

POST .../api/1/target/unlock/dev/mysite?token=defaultManagementToken

Response

Status 200 OK

Responses

Status
Location
Response Body
200


404

{ "message" : "Target not found" }
500

{ "message" : "Internal server error" }