delete__repo_{repoId}_apikey_{apikeyId}
TypeScript Client Library
public deleteRepoKey = async (repoId: string, keyId: string): Promise<ActionResponse> => {
return this.makeRequest<ActionResponse>(`repo/${repoId}/apikey/${keyId}`, 'DELETE', null);
};Code Samples
# You can also use wget
curl -X DELETE https://backend.flashback.tech/repo/{repoId}/apikey/{apikeyId} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'DELETE https://backend.flashback.tech/repo/{repoId}/apikey/{apikeyId} HTTP/1.1
Host: localhost:3000
Accept: application/jsonconst headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/repo/{repoId}/apikey/{apikeyId}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});Parameters
Name
In
Type
Required
Description
{
"success": true,
"message": "string"
}Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Last updated
Was this helpful?