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
f3ae5860-0da1-448e-b94a-2aad0ff8b195
organizationIdstringOptionalExample:
Organization ID
d225cb26-2704-407a-9501-754f78aca82d
keyIdstringOptionalExample:
API key ID
7d70e02f-20c7-4a37-a6b0-a3209979cec2
Responses
200Success
application/json
post
POST /partner/api/delete-api-keys HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 152
{
"userId": "f3ae5860-0da1-448e-b94a-2aad0ff8b195",
"organizationId": "d225cb26-2704-407a-9501-754f78aca82d",
"keyId": "7d70e02f-20c7-4a37-a6b0-a3209979cec2"
}
200Success
{
"success": true,
"response": null
}
Last updated