Delete an application stage
curl --request DELETE \
--url https://{organization}.rescueconsole.com/api/animals/application-stages/{key} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/application-stages/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/application-stages/{key}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"results": [
{
"key": "<string>",
"label": "<string>",
"kind": "adoption",
"color": "<string>",
"sort_order": 123,
"is_system": true,
"is_enabled": true,
"status": "draft"
}
],
"usage": {}
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Application stages
Delete an application stage
Deletes a stage you added. A built-in stage cannot be deleted (400): switch it off instead. A stage any application is at cannot be deleted until they are moved (409). Answers with the whole list. Needs write on Animals.
DELETE
/
api
/
animals
/
application-stages
/
{key}
Delete an application stage
curl --request DELETE \
--url https://{organization}.rescueconsole.com/api/animals/application-stages/{key} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/application-stages/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/application-stages/{key}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"results": [
{
"key": "<string>",
"label": "<string>",
"kind": "adoption",
"color": "<string>",
"sort_order": 123,
"is_system": true,
"is_enabled": true,
"status": "draft"
}
],
"usage": {}
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Path Parameters
The stage's key, such as pending_third_party.