curl --request POST \
--url https://{tenantDomain}/api/v2/actions/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"code": "<string>",
"secrets": [
{
"name": "<string>",
"value": "<string>"
}
],
"dependencies": [
{
"name": "<string>",
"version": "<string>"
}
],
"api_version": "<string>",
"publish": true
}
'{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"dependencies": [
{
"name": "<string>",
"version": "<string>"
}
],
"secrets": [
{
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"actions_using_module_total": 123,
"all_changes_published": true,
"latest_version_number": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"latest_version": {
"id": "<string>",
"version_number": 123,
"code": "<string>",
"dependencies": [
{
"name": "<string>",
"version": "<string>"
}
],
"secrets": [
{
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z"
}
}Create a new Actions Module for reusable code across actions.
curl --request POST \
--url https://{tenantDomain}/api/v2/actions/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"code": "<string>",
"secrets": [
{
"name": "<string>",
"value": "<string>"
}
],
"dependencies": [
{
"name": "<string>",
"version": "<string>"
}
],
"api_version": "<string>",
"publish": true
}
'{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"dependencies": [
{
"name": "<string>",
"version": "<string>"
}
],
"secrets": [
{
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"actions_using_module_total": 123,
"all_changes_published": true,
"latest_version_number": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"latest_version": {
"id": "<string>",
"version_number": 123,
"code": "<string>",
"dependencies": [
{
"name": "<string>",
"version": "<string>"
}
],
"secrets": [
{
"name": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://auth0-quickstart-flutter-windows.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.
The name of the action module.
255^[^ ]*$The source code of the action module.
65536^[^ ]*$The secrets to associate with the action module.
Show child attributes
The npm dependencies of the action module.
Show child attributes
The API version of the module.
20^[^ ]*$Whether to publish the module immediately after creation.
The action module was created.
The unique ID of the module.
The name of the module.
The source code from the module's draft version.
The npm dependencies from the module's draft version.
Show child attributes
The secrets from the module's draft version (names and timestamps only, values never returned).
Show child attributes
The number of deployed actions using this module.
Whether all draft changes have been published as a version.
The version number of the latest published version. Omitted if no versions have been published.
Timestamp when the module was created.
Timestamp when the module was last updated.
The latest published version as a reference object. Omitted if no versions have been published.
Show child attributes
Cette page vous a-t-elle été utile ?