feat(org): Better handling of apikeys
This commit is contained in:
parent
1c4cc4920a
commit
6e87493440
11 changed files with 350 additions and 231 deletions
|
@ -204,6 +204,13 @@ Backend.prototype.createApikey = async function (data) {
|
|||
return responseHandler(await api.post(`/apikeys/jwt`, data, this.auth), 201)
|
||||
}
|
||||
|
||||
/*
|
||||
* Get API key
|
||||
*/
|
||||
Backend.prototype.getApikey = async function (id) {
|
||||
return responseHandler(await api.get(`/apikeys/${id}/jwt`, this.auth))
|
||||
}
|
||||
|
||||
/*
|
||||
* Get API keys
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue