Skip to content

Dismiss a pinned failure

POST
/api/v1/activity/pins/dismiss
curl --request POST \
--url http://localhost:11044/api/v1/activity/pins/dismiss \
--header 'Content-Type: application/json' \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>' \
--data '{ "label": "example" }'

The pinned job’s label, exactly as the activity list shows it (prose such as Learning the X API); only the caller’s own pin is dismissed, and a label with nothing pinned is still a 204. The job itself is untouched and pins again on its next failure

Media typeapplication/json

Which pinned failure to dismiss, the body of POST /activity/pins/dismiss

object
label
required

The pinned job’s label, exactly as the activity list shows it. A label with nothing pinned is not an error

string

Example generated

{
"label": "example"
}

Dismissed, or there was nothing pinned by that label