cURL
curl --request PATCH \ --url https://us.infisical.com/api/v1/ssh/host-groups/{sshHostGroupId} \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "loginMappings": [ { "loginUser": "<string>", "allowedPrincipals": { "usernames": [ "<string>" ], "groups": [ "<string>" ] } } ] }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "projectId": "<string>", "name": "<string>", "loginMappings": [ { "loginUser": "<string>", "allowedPrincipals": { "usernames": [ "<string>" ], "groups": [ "<string>" ] } } ] }
Update SSH Host Group
1 - 64
Show child attributes
Was this page helpful?