Deleting audio from user prompts

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?

Hi,

This endpoint should be able to achieve that. DELETE /api/v2/architect/prompts/{promptId}/resources/{languageCode}/audio

Regards,
Declan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.