You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec4282e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/api-references/service-endpoints/api-key-management.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,24 @@
1
1
# API Key Management
2
2
3
-
This section describes the API methods for managing your API keys. 
4
-
5
-
<table data-header-hidden data-full-width="true"><thead><tr><th width="159.016845703125" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Create an API key</td><td valign="top"><img src="../../.gitbook/assets/post.png" alt="" data-size="line"> <code>https://api.aimlapi.com/v1/keys</code></td></tr><tr><td valign="top">List all API keys</td><td valign="top"><img src="../../.gitbook/assets/get.png" alt="" data-size="line"> <code>https://api.aimlapi.com/v1/keys</code></td></tr><tr><td valign="top">Get the API key</td><td valign="top"><img src="../../.gitbook/assets/get.png" alt="" data-size="line"> <code>https://api.aimlapi.com/v1/key</code></td></tr><tr><td valign="top">Update an API key</td><td valign="top"><img src="../../.gitbook/assets/put.png" alt="" data-size="line"> <code>https://api.aimlapi.com/v1/keys/{prefix}</code></td></tr><tr><td valign="top">Delete an API key</td><td valign="top"><img src="../../.gitbook/assets/delete.png" alt="" data-size="line"> <code>https://api.aimlapi.com/v1/keys/{prefix}</code></td></tr></tbody></table>
3
+
<table data-header-hidden data-full-width="true"><thead><tr><th width="185.762939453125" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><a href="api-key-management.md#create-an-api-key">Create a new API key</a></td><td valign="top"><mark style="color:$warning;"><strong><code>POST</code></strong></mark> <code>https://api.aimlapi.com/v1/keys</code></td></tr><tr><td valign="top"><a href="api-key-management.md#list-api-keys">List API keys</a></td><td valign="top"><mark style="color:$success;"><strong><code>GET</code></strong></mark> <code>https://api.aimlapi.com/v1/keys</code></td></tr><tr><td valign="top"><a href="api-key-management.md#get-the-api-key">Get the API key</a></td><td valign="top"><mark style="color:$success;"><strong><code>GET</code></strong></mark> <code>https://api.aimlapi.com/v1/key</code></td></tr><tr><td valign="top"><a href="api-key-management.md#update-an-api-key">Update an API key</a></td><td valign="top"><mark style="color:blue;"><strong><code>PUT</code></strong></mark> <code>https://api.aimlapi.com/v1/keys/{prefix}</code></td></tr><tr><td valign="top"><a href="api-key-management.md#delete-an-api-key">Delete an API key</a></td><td valign="top"><mark style="color:$danger;"><strong><code>DELETE</code></strong></mark> <code>https://api.aimlapi.com/v1/keys/{prefix}</code></td></tr></tbody></table>
6
4
7
5
{% hint style="warning" %}
8
6
Before you start you should create [a managment key](../../faq/how-can-i-work-with-my-api-keys.md#management-keys).
9
7
{% endhint %}
10
8
11
-
## API Schemas
12
-
13
-
### Create an API key
9
+
### Create a new API key
14
10
15
-
Copy the created key and store it in a secure location. If the key is lost, create a new one.
11
+
Copy the created key and store it in a secure location. If the key is lost, create a new one. 
0 commit comments