Appearance
Set a credential's sync mode
POST
/credentials/{id}/sync-mode
"webhook" creates a webhook subscription on the credential's hub, checks the hub can reach fleet with a test delivery, and then polls only as a slow catch-up pass. "polling" removes the subscription and resumes polling. One fleet webhook per hub account.
Authorizations
Parameters
Path Parameters
id*
Credential ID
Type
Requiredstring
Request Body
application/json
JSON "mode": "webhook"
{
}
Responses
OK
application/json
JSON "comment": "string", "created_at": "string", "deleted_at": "string", "fqdn": "string", "id": "string", "invalid_since": "string", "message": "string", "owner": "string", "owner_id": "string", "owner_name": "string", "owner_nick": "string", "owner_prn": "string", "prn": "string", "pvr_url": "string", "state": "string", "sync_mode": "string", "updated_at": "string", "url": "string", "webhook_error": "string", "webhook_state": "string", "webhook_subscription_prn": "string", "webhook_synced_at": "string", "weburl": "string"
{
}