Austen | 2023-10-25 12:40:42 UTC | #1
We have a requirement where we need to delete the audio attached to a user prompt asset without deleting the prompt asset itself.
We have tried using the (Java Platform SDK) method ArchitectAPI.putArchitectPromptResource (which presumably maps to /api/v2/architect/prompts/{promptId}/resources/{languageCode} ) with mediaUrl set to null but this does not remove the audio file.
How can we achieve this in the API?
Declan_ginty | 2023-10-26 11:19:47 UTC | #2
Hi,
This endpoint should be able to achieve that. DELETE /api/v2/architect/prompts/{promptId}/resources/{languageCode}/audio
Regards, Declan
system | 2023-11-25 11:19:55 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 22737