Tasks (Legacy)
Deploy Task (Legacy)
Changed onDeploys a task by creating a new version with auto-incremented version number. This is the recommended way to publish task changes.
If you are using the new Task Builder, see the non-deprecated Tasks endpoints in this API reference.
post/v1/task/{taskId}/deploy
Request
- Base URLhttps://api.anchorbrowser.io
- AuthAPI key in header anchor-api-key
Path parameters
taskIdstring uuid required
The ID of the task
Request body
Example request
{
"browserConfiguration": {
"tags": [
"production",
"scraping",
"customer-123"
],
"domain_allowlist": [
"example.com",
"example.org"
]
}
}Response
Task deployed successfully
Example response
{
"data": {
"browserConfiguration": {
"tags": [
"production",
"scraping",
"customer-123"
],
"domain_allowlist": [
"example.com",
"example.org"
]
}
}
}Changes
- info
added the new optional request property
/ - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info