cURL
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.
Stores a new keychain item for a service.
Service identifier
"github"
Keychain item to store
Show child attributes
Successfully stored keychain item