Dismiss a pinned failure
POST
/api/v1/activity/pins/dismiss
const url = 'http://localhost:11044/api/v1/activity/pins/dismiss';const options = { method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>', 'Content-Type': 'application/json'}, body: '{"label":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”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"}Responses
Section titled “Responses”Dismissed, or there was nothing pinned by that label

