Delete API key

The method allows you to delete the user's API key

Request:

Parameter

Required

Type

Description

userId

Yes

String

User ID

keyId

Yes

String

Api key ID

Delete API key

POSThttps://app.apollopayment.io/partner/api/delete-api-keys
Header parameters
Body
userIdstring

User ID

Example: "e5c4f95b-dc88-4714-bc81-a31043ae4c8e"
organizationIdstring

Organization ID

Example: "c134bc01-f3ed-439a-8546-f194a55fa4e6"
keyIdstring

API key ID

Example: "2d9a1b2c-8545-4974-9511-10f86ba9f0ac"
Response
Body
success*boolean

Request success indicator

response*DeletePartnerApiKeyResponse (null)

The body of the api key deletion response

Request
const response = await fetch('https://app.apollopayment.io/partner/api/delete-api-keys', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "response": null
}

Last updated