Archive a rep (their analyses are kept)
curl --request DELETE \
--url https://api.pineyard.ai/speech/reps/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/speech/reps/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/speech/reps/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"email": "<string>",
"imageUrl": "<string>",
"createdAt": "<string>"
}Reps & teams
Archive a rep (their analyses are kept)
DELETE
/
speech
/
reps
/
{id}
Archive a rep (their analyses are kept)
curl --request DELETE \
--url https://api.pineyard.ai/speech/reps/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/speech/reps/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/speech/reps/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"email": "<string>",
"imageUrl": "<string>",
"createdAt": "<string>"
}
