メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
actions
/
actions
/
{id}
/
test
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using System.Collections.Generic;

public partial class Examples
{
    public async Task Example() {
        var client = new ManagementClient(
            token: "<token>"
        );

        await client.Actions.TestAsync(
            id: "id",
            request: new TestActionRequestContent {
                Payload = new Dictionary<string, object?>(){
                    ["key"] = "value",
                }

            }
        );
    }

}
{
  "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.