cURL
curl --request DELETE \ --url https://us.infisical.com/api/v1/shared-secrets/{id}
{ "id": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "expiresAfterViews": 123, "accessType": "anyone", "name": "<string>", "lastViewedAt": "2023-11-07T05:31:56Z", "type": "share", "authorizedEmails": "<unknown>", "identityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Delete a shared secret by its ID.
The ID of the shared secret to delete.
Default Response
Was this page helpful?