Delete a secret set
Updated
Deletes a secret set and all its keys.
Preview documentation
https://preview.ai.agora.io/conversational-ai/v1/projects/{appid}/secrets/{name}You can't delete a set that an agent references. Remove the references first. Changing a key also changes the set's ETag, so retrieve the set to get its current ETag before you delete it.
appidstringThe App ID of your project.
namestringThe name of the secret set.
If-MatchstringThe ETag value from the most recent response for this resource. If the resource has changed since then, the request fails with 412 and reason PreconditionFailed. Retrieve the resource, apply your change again, and retry with the new ETag.
Response Body
Request examples
curl -X DELETE 'https://preview.ai.agora.io/conversational-ai/v1/projects/string/secrets/string' \ -H 'If-Match: string'Response example
{ "deleted": true}