POST
/
api
/
keychain
/
set-item
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/keychain/set-item \
  --header 'Content-Type: application/json' \
  --data '{
  "item": {
    "password": "secret123",
    "url": "https://github.com",
    "username": "user@example.com"
  },
  "service": "github"
}'
This response does not have an example.

Body

application/json
service
string
required

Service identifier

Example:

"github"

item
object
required

Keychain item to store

Response

204
_mintlify/placeholder

Successfully stored keychain item