メインコンテンツへスキップ
PATCH
/
connections
/
{id}
/
clients
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.connections.clients.update("id", [
        {
            clientId: "client_id",
            status: true,
        },
    ]);
}
main();

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The id of the connection to modify

ボディ

Minimum array length: 1
client_id
string<client-id>
必須

The client_id of the client whose status will be changed. Note that the limit per PATCH request is 50 clients.

status
boolean
必須

Whether the connection is enabled or not for this client_id

レスポンス

Success