put__repo_{repoId}_apikey_{apikeyId}
Code Samples
# You can also use wget
curl -X PUT https://backend.flashback.tech/repo/{repoId}/apikey/{apikeyId} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
PUT /repo/{repoId}/apikey/{apikeyId}
Update Repository API Key
Update an existing API key
Body parameter
{
"name": "string",
"accessType": "READ"
}
Parameters
Name
In
Type
Required
Description
repoId
path
string
true
none
apikeyId
path
string
true
none
body
body
object
true
none
» name
body
string
true
none
» accessType
body
string
true
none
Enumerated Values
Parameter
Value
» accessType
READ
» accessType
WRITE
» accessType
ADMIN
Example responses
200 Response
{
"success": true,
"message": "string"
}
Responses
Status
Meaning
Description
Schema
Response Schema
Status Code 200
Name
Type
Required
Restrictions
Description
» success
boolean
false
none
none
» message
string
false
none
none
Last updated
Was this helpful?