Block a Bridge at the Bridge Server

JFrog REST APIs

Content Type
REST API

Description: Add a Bridge to the Bridge service's blacklist. The Bridge Server terminates connections to the Bridge Client, and declines new connections - but the Bridge is not removed.

Related Documentation: Server /blacklist APIs correspond to the Block and Unblock options when you Manage JFrog Bridges in the JFrog Platform interface.Manage JFrog Bridges

Security: Requires a valid admin tokenGenerate a Token in MyJFrog

Usage:

PUT https://{{bridge_server_BaseURL}}/bridge-server/api/v1/blacklist/{{bridge_ID}}

where

{{bridge_server_BaseURL}} is the URL of the SaaS JPD that is the Bridge Server.

{{bridge_id}} is the unique identifier of the new Bridge.

Content-Type: application/json

Produces: application/json

Response status codes:

204 - Success

401 - Unauthorized user

403 - Action not permitted for this account