Delete Task Definitions
Endpoint: DELETE /api/metadata/taskdefs/{taskType}
Deletes an existing task definition.
Path parameters
Parameter | Description | Type | Required/Optional |
---|---|---|---|
taskType | The name of the task definition to be deleted. | string | Required. |
Examples
Delete an existing task definition
Delete an existing task definition
Request
curl -X 'DELETE' \
'https://<YOUR-CLUSTER>/api/metadata/taskdefs/sample-api-test' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>'
Response
Returns 200 OK, indicating that the task definition has been deleted successfully.