# Apikey Yönetimi

## 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.banksocket.com/apikey-yoenetimi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
