Skip to main content
DELETE
/
api
/
payments
/
config
/
{environment}
Remove Stripe Secret Key
curl --request DELETE \
  --url https://api.example.com/api/payments/config/{environment} \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "environment": "test",
      "hasKey": true,
      "maskedKey": "sk_test_...abcd"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environment
enum<string>
required

Stripe environment.

Available options:
test,
live

Response

Updated Stripe key configuration

keys
object[]
required