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