メインコンテンツへスキップ
POST
/
network-acls
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.networkAcls.create({
        description: "description",
        active: true,
        priority: 1.1,
        rule: {
            action: {},
            scope: "management",
        },
    });
}
main();

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

description
string
必須
Maximum string length: 255
active
boolean
必須

Indicates whether or not this access control list is actively being used

rule
object
必須
priority
number
デフォルト:50

Indicates the order in which the ACL will be evaluated relative to other ACL rules.

必須範囲: 1 <= x <= 100

レスポンス

Network ACL successfully created.