> For the complete documentation index, see [llms.txt](https://docs.banksocket.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.banksocket.com/apikey-yoenetimi.md).

# Apikey Yönetimi

Uzaktan ürettiğiniz bankalara özel apikeyler üretebilir yada apikeyleri silebilirsiniz.

## Apikey oluştur

<mark style="color:green;">`POST`</mark> `https://api.banksocket.com/v1/apikeys`

#### Headers

| Name           | Type   | Description                 |
| -------------- | ------ | --------------------------- |
| Authentication | string | Kimlik denetimi başlığıdır. |

#### Request Body

| Name    | Type   | Description                                                                                                                    |
| ------- | ------ | ------------------------------------------------------------------------------------------------------------------------------ |
| title   | string | Apikey adıdır.                                                                                                                 |
| account | array  | Tüm hesaplar için "all" gönderiniz. Belirli hesaplara eklemek için dizi içerisinde account\_id değerlerini iletiniz \[123,124] |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "apikey": {
        "id": 233,
        "apikey": "64e55bb703c77b4c5cf86861f48b58a8f06c423c321a0dbc903410f1a81f0094"
    }
}
```

{% endtab %}
{% endtabs %}

## Apikey sil

<mark style="color:red;">`DELETE`</mark> `https://api.banksocket.com/v1/apikeys/:id`

#### Path Parameters

| Name | Type    | Description                          |
| ---- | ------- | ------------------------------------ |
| id   | integer | Silinecek apikey'e ait ID değeridir. |

#### Headers

| Name           | Type   | Description                 |
| -------------- | ------ | --------------------------- |
| Authentication | string | Kimlik denetimi başlığıdır. |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "status" : "success"
}
```

{% endtab %}
{% endtabs %}
