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
ed83d19f-30ef-4b3f-bca9-edd2c7714b16
organizationIdstringOptionalExample:
Organization ID
a61799b2-cd0c-47fd-a7f0-216b2be184c7
keyIdstringOptionalExample:
API key ID
fdcedae3-b06a-4c9f-be0e-0933b476f98d
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": "ed83d19f-30ef-4b3f-bca9-edd2c7714b16",
"organizationId": "a61799b2-cd0c-47fd-a7f0-216b2be184c7",
"keyId": "fdcedae3-b06a-4c9f-be0e-0933b476f98d"
}
200Success
{
"success": true,
"response": null
}
Last updated