A cloud-based identity and access management service for securing user authentication and resource access
Are you referring to a Key Vault secret?
If that is the case you can use the following operation to recover the deleted secret:
POST {vaultBaseUrl}/deletedsecrets/{secret-name}/recover?api-version=7.2
https://learn.microsoft.com/en-us/rest/api/keyvault/recover-deleted-secret/recover-deleted-secret