Add a remote site
POST/plugin-api/sync/sites
Saves the site with an API key made on it, then mirrors its SSH hosts as read only hosts owned by the user who adds it, in a folder named after the site. The key's user on the remote decides which hosts exist here. shareRoles lists the roles the hosts are shared with.
Request
Responses
- 200
- 400
- 409
The site, with the result of the first refresh.
Missing or invalid fields.
That site is already added.