DELETE
/ratchet/admin/tasks/{name}/pin
const url = 'http://localhost:8000/ratchet/admin/tasks/example/pin';const options = { method: 'DELETE', headers: {'Content-Type': 'application/json'}, body: '"example"'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:8000/ratchet/admin/tasks/example/pin \ --header 'Content-Type: application/json' \ --data '"example"'Remove a task’s runtime pin (body {reason}); a task its spec pins stays pinned.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
Name
string
Header Parameters
Section titled “Header Parameters”Request Body
Section titled “Request Body”Media typeapplication/json
Body
Example generated
exampleResponses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Admin Unpin Ratchet Admin Tasks Name Pin Delete
object
Example generated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}