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
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/json
Body
The body of the api key deletion request
userIdstringOptionalExample:
User ID
6fb8b0d7-c40e-4692-ad85-b5f2208c2f78
organizationIdstringOptionalExample:
Organization ID
2497027d-1f9c-46e1-92cf-76f7b046305e
keyIdstringOptionalExample:
API key ID
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