Management API
Go
package example import ( client "github.com/auth0/go-auth0/management/client" option "github.com/auth0/go-auth0/management/option" context "context" management "github.com/auth0/go-auth0/management" ) func do() () { client := client.NewClient( option.WithToken( "<token>", ), ) client.Flows.Create( context.TODO(), &management.CreateFlowRequestContent{ Name: "name", }, ) }
{ "id": "<string>", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "actions": [ { "id": "<string>", "type": "ACTIVECAMPAIGN", "action": "LIST_CONTACTS", "params": { "connection_id": "<string>", "email": "<string>" }, "alias": "<string>", "allow_failure": true, "mask_output": true } ], "executed_at": "2023-12-25" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 150
Show child attributes
Flow successfully created.
30
このページは役に立ちましたか?