Delete a casting call question
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/casting-calls/{id}/questions/{questionId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/casting-calls/{id}/questions/{questionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/casting-calls/{id}/questions/{questionId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Casting call questions
Delete a casting call question
Removes a question from the casting call. A question that already has submitted answers can’t be deleted (409) — deleting it would delete those answers.
DELETE
/
api
/
v2
/
casting-calls
/
{id}
/
questions
/
{questionId}
Delete a casting call question
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/casting-calls/{id}/questions/{questionId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/casting-calls/{id}/questions/{questionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/casting-calls/{id}/questions/{questionId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Response
Deleted
Was this page helpful?