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

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body

The body of the api key deletion request

userIdstringOptional

User ID

Example: 6fb8b0d7-c40e-4692-ad85-b5f2208c2f78
organizationIdstringOptional

Organization ID

Example: 2497027d-1f9c-46e1-92cf-76f7b046305e
keyIdstringOptional

API key ID

Example: c67fd3e6-f654-49bb-88ff-ca606cb5e72a
Responses
200Success
application/json
post
POST /partner/api/delete-api-keys HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 152

{
  "userId": "6fb8b0d7-c40e-4692-ad85-b5f2208c2f78",
  "organizationId": "2497027d-1f9c-46e1-92cf-76f7b046305e",
  "keyId": "c67fd3e6-f654-49bb-88ff-ca606cb5e72a"
}
200Success
{
  "success": true,
  "response": null
}

Last updated