API/Sync

Sync Project

Sync a project with the API.

POST
/projects/{projectId}/sync

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

text/plainRequired
bodyRequiredstring
curl -X POST "https://onlynv.dev/api/projects/{projectId}/sync" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: text/plain" \
  -d 'en::crypted::body\n\r\n-----BEGIN PUBLIC KEY-----'

Success.

"en::crypted::body\\n\\r\\n-----BEGIN PUBLIC KEY-----"