Create a rule setpost https://{hostname}/storage/v1/rule-setsCreate a rule set.Query ParamsaccountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsallowRestbooleanSet to false to add allowed geos. Set to true to add denied geos.truetruefalsecontractIdintegerrequiredThe unique identifier for the contract that contains your instance of NetStorage and this rule set.descriptionstringA description for this ACL rule set.groupIdintegerThe unique identifier for the account that this rule set is associated with.lastModifiedDatestringThe date the rule set was last modified.namestringrequiredThe name for this ACL rule set. For easy recognition, use a unique, easy-to-remember value.ruleSetGEOsobjectGEO rule sets are associated with a specific upload account, which controls access to the storage group.ruleSetGEOs objectruleSetIPsobjectIP rule sets are associated with a specific upload account which controls access to the storage group.ruleSetIPs objectruleSetIdintegerThe unique ID assigned to this rule set.uploadAccountsarray of stringsThese upload accounts are associated with this rule set.uploadAccountsADD stringHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Successful response. 400Badly formatted JSON. Compare with the schema. 401Unauthorized Request. 403Application permission error. 429The maximum request count for a specific time duration for this resource has been reached.Updated about 1 month ago