Update an HTTP task
PATCH/v1/http-tasks/:id
Changes only the fields present in the request (JSON merge patch, Content-Type application/merge-patch+json) and returns the updated task. Lists such as tags, headers, assertions and locationIds are replaced as a whole. After an update the task state is reset to pending.
Request
Responses
- 200
- 400
- 401
- 404
- 406
- 415
- 422
OK
Malformed request: invalid JSON body or unsupported query parameter
API key is missing or invalid
Resource not found or belongs to another account
Unsupported Accept header: the API responds with application/json only
Unsupported Content-Type: use application/json for POST and application/merge-patch+json for PATCH
Validation failed