{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update a webhook by ID.","properties":{"path":{"type":"object","properties":{"webhook_id":{"type":"string","description":"ID of webhook to update"}},"required":["webhook_id"],"additionalProperties":false},"body":{"type":"object","properties":{"event_type":{"$ref":"#/definitions/WebhookV2Event"},"endpoint":{"type":"string","description":"The HTTP endpoint that will receive a POST request when the event triggers. Max length 2048 characters."},"passcode":{"type":"string","description":"String that will be passed back to your webhook endpoint to verify that it is being called by Figma. Max length 100 characters."},"status":{"$ref":"#/definitions/WebhookV2Status"},"description":{"type":"string","description":"User provided description or name for the webhook. Max length 150 characters."}},"required":["event_type","team_id","endpoint","passcode"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"WebhookV2Event":{"type":"string","description":"An enum representing the possible events that a webhook can subscribe to","enum":["PING","FILE_UPDATE","FILE_VERSION_UPDATE","FILE_DELETE","LIBRARY_PUBLISH","FILE_COMMENT","DEV_MODE_STATUS_UPDATE"]},"WebhookV2Status":{"type":"string","description":"An enum representing the possible statuses you can set a webhook to:\n- `ACTIVE`: The webhook is healthy and receive all events\n- `PAUSED`: The webhook is paused and will not receive any events","enum":["ACTIVE","PAUSED"]}}},"name":"Update a webhook","id":"figma.putwebhook","example":{"path":{"webhook_id":"example"},"body":{"event_type":"PING","team_id":"example","endpoint":"example","passcode":"example"}},"maxRequests":1,"summary":false}}