Update Target element (atomic)
PUT/api/v1/workspace/:workspaceId/survey/:surveyCode/target/:elementId
Updates an existing TARGET element's TGL expression atomically. If TGL parsing fails, the update is rolled back.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Target element updated and TGL applied successfully.
Bad Request. The request parameters are invalid.
Unauthorized. Missing or invalid API key.
Forbidden. The API key does not grant access to workspaces.
Not Found. The requested resource was not found.
Unprocessable Entity. The TGL expression is semantically invalid.
Internal Server Error. Unexpected error occurred while processing the request.