Single User API Key
https://api.xata.io/user/keys/key_name
This endpoint allows operations on a single API key for a given user.
Expected Parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
key_name | API Key name | path | ✅ | string |
Create and Return New API Key
POSThttps://api.xata.io/user/keys/key_name
Create and return new API key
Status Code | Description | Example Response/Type Definition |
---|---|---|
201 | OK |
|
400 | Bad Request |
|
401 | Authentication Error |
|
404 | Example response |
|
5XX | Unexpected Error |
Delete an Existing API Key
DELETEhttps://api.xata.io/user/keys/key_name
Delete an existing API key
Status Code | Description | Example Response/Type Definition |
---|---|---|
204 | No Content | |
400 | Bad Request |
|
401 | Authentication Error |
|
404 | Example response |
|
5XX | Unexpected Error |