Delete Permission By API Key
14.4 Delete Permission By API Key
Request
Method
URL
DELETE
/api_keys/{api_key_id}/permissions/{permission_id}
Response
Status
Response
200
{
"secret_key": "magic-uHyomPzAmva2xls9tVZ89Jop3h1k6_sJh7mrEZGUqnM",
"updatedDate": "2024-01-29T08:35:24.947598",
"createdDate": "2024-01-29T08:35:24.947598",
"api_key": "magic-W-O9vzYULk3I6eQo3kD0nHofmELmvCLgJqI1cWwQimY",
"merchant_id": 1,
"id": 70,
"deletedDate": null,
"is_active": true,
"name": "deneme",
"permissions": [
{
"name": "auth",
"createdDate": "2023-10-06T12:09:27.676680",
"updatedDate": null,
"description": "ödeme almayı sağlar",
"id": 8,
"deletedDate": null
},
{
"name": "preauth",
"createdDate": "2023-10-06T12:10:16.983874",
"updatedDate": null,
"description": " ön ödeme almayı sağlar",
"id": 9,
"deletedDate": null
},
{
"name": "refund",
"createdDate": "2023-10-06T12:11:43.098157",
"updatedDate": null,
"description": "iptal ve iade yapmayı sağlar",
"id": 11,
"deletedDate": null
}
]
}
403
400
401
401
500
Last updated