File size: 353 Bytes
4114d85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}