orgs

Update network security

Changed on

Update the network security settings for an organization.

patch/api/organizations/{name}/settings/network-security

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/organizations/{name}/settings/network-security
  • Auth: HTTP bearer

Path parameters

namestring required

Request body

enforceAuthboolean
enforceIpRestrictionboolean
highRateLimitsboolean
keepReposMetadataVisibleboolean

Response

Updated network security settings

enforceIpRestrictionboolean required
highRateLimitsboolean required
ipRangesstring[] required
keepReposMetadataVisibleboolean required
areCidrRangesApprovedboolean required

Whether the declared ipRanges match the admin-validated CIDR ranges

Changes

    • breaking

      response property enforceAuth list-of-types was widened by adding types string to media type application/json of response 200

    • warning

      added the new container enum value to the /// response property for the response status

    • warning

      added the new container enum value to the /// response property for the response status

    • info

      added the new container enum value to the request property ///

    • info

      added the new container enum value to the request property ///