Share a host
POST/rbac/host/:id/share
Shares a host with one or more users and/or roles at a permission level (connect, view, edit, manage). SSH authentication remains private to the owner; recipients may select one of their own saved SSH credentials.
Request
Responses
- 200
- 400
- 403
- 404
- 500
Host shared successfully.
Invalid request body.
Caller may not share this host.
Target user or role not found.
Failed to share host.