deletePerson
# deletePerson
DELETE
/people/{personId}
const url = 'http://localhost:8080/api/v1/people/per_01j9x3k8m2q4r5s6t7v8w9y0z1';const options = {method: 'DELETE', headers: {cookie: 'hs_session=<hs_session>'}};
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:8080/api/v1/people/per_01j9x3k8m2q4r5s6t7v8w9y0z1 \ --cookie hs_session=<hs_session>Soft delete. Restorable for 30 days.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”personId
required
string
Responses
Section titled “Responses”Deleted.