メインコンテンツへスキップ
POST
/
actions
/
actions
/
{id}
/
test
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.actions.test("id", {
        payload: {
            "key": "value",
        },
    });
}
main();
{
  "payload": {}
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The id of the action to test.

ボディ

payload
object
必須

The payload for the action.

レスポンス

Test action version successfully created.

payload
object

The resulting payload after an action was executed.