Create a rule set

Create a rule set.

Query Params
string

For 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 Params
boolean

Set to false to add allowed geos. Set to true to add denied geos.

integer
required

The unique identifier for the contract that contains your instance of NetStorage and this rule set.

string

A description for this ACL rule set.

integer

The unique identifier for the account that this rule set is associated with.

string

The date the rule set was last modified.

string
required

The name for this ACL rule set. For easy recognition, use a unique, easy-to-remember value.

ruleSetGEOs
object

GEO rule sets are associated with a specific upload account, which controls access to the storage group.

ruleSetIPs
object

IP rule sets are associated with a specific upload account which controls access to the storage group.

integer

The unique ID assigned to this rule set.

uploadAccounts
array of strings

These upload accounts are associated with this rule set.

uploadAccounts
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Choose an example:
application/json
application/problem+json
*/*