Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Update credential

Update a stored credential label.

PATCH/api/credential/{credentialID}
Path parameters
credentialIDstringrequired
Query parameters
locationobject | any
Request body
requiredapplication/json
labelstringrequired
Responses
204<No Content>
400InvalidRequestError
_tagstringrequired
Allowed:InvalidRequestError
messagestringrequired
kindstring | any
Show properties
Any of:
string
string
any
any
fieldstring | any
Show properties
Any of:
string
string
any
any
401UnauthorizedError
_tagstringrequired
Allowed:UnauthorizedError
messagestringrequired
Request
curl -X PATCH "/api/credential/string" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "string"
}'
Response
<No Content>