mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-25 13:01:00 +03:00
17 lines
353 B
JavaScript
17 lines
353 B
JavaScript
import client from './client'
|
|
|
|
const getAllAPIKeys = () => client.get('/apikey')
|
|
|
|
const createNewAPI = (body) => client.post(`/apikey`, body)
|
|
|
|
const updateAPI = (id, body) => client.put(`/apikey/${id}`, body)
|
|
|
|
const deleteAPI = (id) => client.delete(`/apikey/${id}`)
|
|
|
|
export default {
|
|
getAllAPIKeys,
|
|
createNewAPI,
|
|
updateAPI,
|
|
deleteAPI
|
|
}
|