Skip to main content
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();

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The id of the connection to modify

Body

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

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

status
boolean
required

Whether the connection is enabled or not for this client_id

Response

Success