API ReferenceAPI Keys
Delete an API key
Permanently delete an API key from the system. **⚠️ Warning:** This action cannot be undone! Any applications using this key will immediately lose access.
Path Parameters
key_id*integer
The unique ID of the API key to delete
Header Parameters
X-Admin-Secret*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:8000/admin/keys/0" \ -H "X-Admin-Secret: string"{
"data": {
"id": 1,
"name": "Example"
},
"error": false,
"message": "Operation completed successfully",
"success": true
}{
"data": {
"errors": [
"field -> error message"
]
},
"error": true,
"message": "Validation error",
"success": false
}{
"data": {
"errors": [
"field -> error message"
]
},
"error": true,
"message": "Validation error",
"success": false
}{
"data": {
"errors": [
"field -> error message"
]
},
"error": true,
"message": "Validation error",
"success": false
}{
"data": {
"errors": [
"field -> error message"
]
},
"error": true,
"message": "Validation error",
"success": false
}{
"data": {
"errors": [
"field -> error message"
]
},
"error": true,
"message": "Validation error",
"success": false
}{
"data": {
"errors": [
"field -> error message"
]
},
"error": true,
"message": "Validation error",
"success": false
}Create a new API key
Create a new API key for authenticating with the Anvesh API. **Important:** The full API key is only returned once in this response. Store it securely - you won't be able to retrieve it again! **Tiers:** - `free` - 1,000 leads/month - `pro` - 10,000 leads/month - `enterprise` - Unlimited
Get API key details
Retrieve the details of a specific API key by its ID.