IP Restriction Endpoints

POST /api/v3/accounts/{account_id}/ip-restrictions/

Changed on

Save net-new ip restriction rule

Note: As long as at least one cidr was successfully saved a 2XX will be returned. Check the extra key within the response for a list of cidrs that failed to save.

Request

  • Base URL
    https://cloud.getdbt.com
  • Auth
    HTTP bearer

Path parameters

account_idinteger required

Request body

namestring required
type1 | 2 required
  • 1 - ALLOW
  • 2 - DENY
rule_set_enabledboolean required
account_idinteger required
descriptionstring

Example request

{
  "cidrs": [
    {
      "state": 1
    }
  ]
}

Response

Example response

{
  "data": {
    "state": 1,
    "cidrs": [
      {
        "state": 1
      }
    ]
  }
}

Changes

    • breaking

      the request property format changed from no format to int64 (media type: application/json)

    • breaking

      the request property format changed from no format to int64 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property format changed from no format to int64 (media type: multipart/form-data)

    • breaking

      the // request property format changed from no format to int64 (media type: application/json)

    • breaking

      the // request property format changed from no format to int64 (media type: application/x-www-form-urlencoded)

    • breaking

      the // request property format changed from no format to int64 (media type: multipart/form-data)

    • breaking

      for the path request parameter account_id, the format changed from no format to int64