package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
jobs "github.com/auth0/go-auth0/management/management/jobs"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &jobs.CreateExportUsersRequestContent{}
client.Jobs.UsersExports.Create(
context.TODO(),
request,
)
}{
"status": "pending",
"type": "users_export",
"id": "job_0000000000000001",
"created_at": "<string>",
"connection_id": "con_0000000000000001",
"format": "json",
"limit": 5,
"fields": [
{
"name": "<string>",
"export_as": "<string>"
}
]
}Export all users to a file via a long-running job.
package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
jobs "github.com/auth0/go-auth0/management/management/jobs"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &jobs.CreateExportUsersRequestContent{}
client.Jobs.UsersExports.Create(
context.TODO(),
request,
)
}{
"status": "pending",
"type": "users_export",
"id": "job_0000000000000001",
"created_at": "<string>",
"connection_id": "con_0000000000000001",
"format": "json",
"limit": 5,
"fields": [
{
"name": "<string>",
"export_as": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://auth0-sdk8048.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
connection_id of the connection from which users will be exported.
^con_[A-Za-z0-9]{16}$Format of the file. Must be json or csv.
json, csv Limit the number of records.
x >= 1List of fields to be included in the CSV. Defaults to a predefined set of fields.
Show child attributes
Job created successfully.
Status of this job.
Type of job this is.
ID of this job.
When this job was created.
connection_id of the connection from which users will be exported.
^con_[A-Za-z0-9]{16}$Format of the file. Must be json or csv.
json, csv Limit the number of records.
x >= 1List of fields to be included in the CSV. Defaults to a predefined set of fields.
Show child attributes
このページは役に立ちましたか?