snoozePerson
# snoozePerson
PUT
/people/{personId}/snooze
const url = 'http://localhost:8080/api/v1/people/per_01j9x3k8m2q4r5s6t7v8w9y0z1/snooze';const options = { method: 'PUT', headers: {cookie: 'hs_session=<hs_session>', 'Content-Type': 'application/json'}, body: '{"days":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url http://localhost:8080/api/v1/people/per_01j9x3k8m2q4r5s6t7v8w9y0z1/snooze \ --header 'Content-Type: application/json' \ --cookie hs_session=<hs_session> \ --data '{ "days": 1 }'Hide this person from hearth picks for N days (for the current member only).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”personId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
days
required
integer
Example generated
{ "days": 1}Responses
Section titled “Responses”Snoozed.