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
5b41fb2b-9f7a-48cd-ae17-f48ceda2bd83
organizationIdstringOptionalExample:
Organization ID
2f90da31-7c81-4ab2-a7fc-3089bb4be451
keyIdstringOptionalExample:
API key ID
ee839902-f795-4c22-9136-0b9a790784e9
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": "5b41fb2b-9f7a-48cd-ae17-f48ceda2bd83",
"organizationId": "2f90da31-7c81-4ab2-a7fc-3089bb4be451",
"keyId": "ee839902-f795-4c22-9136-0b9a790784e9"
}
200Success
{
"success": true,
"response": null
}
Last updated