delete__repo_{repoId}_apikey_{apikeyId}

DELETE /repo/{repoId}/apikey/{apikeyId}

Delete Repository API Key

Delete an API key

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}'

Parameters

Name
In
Type
Required
Description

repoId

path

string

true

none

apikeyId

path

string

true

none

Example responses

200 Response

{
  "success": true,
  "message": "string"
}

Responses

Status
Meaning
Description
Schema

200

API key deleted successfully

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» message

string

false

none

none

To perform this operation, you must be authenticated by means of one of the following methods: BearerAuth

Last updated

Was this helpful?