Skip to main content

Import Workflow

Import a workflow archive file sent as the request body.

POST https://instance.securid.com/aveksa/command.submit?cmd=importWorkflow

Request

Parameters

importWorkflow
formatproperties - (Default) Returns the response as key=value pairs.

json - Returns the response as JSON.
filenameThe filename in the import directory on the G&L server. The import directory is specified on the Web Services configuration page. Not recommended. Send the file as the request body instead.
overwritetrue - Overwrite existing objects.

false - (Default) Skip existing objects.

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/octet-stream

Body

The workflow archive file as binary data. The file must be a valid workflow ZIP archive exported from RSA G&L (Admin > Configuration > Workflow > Export).

Response

Parameters

typeExecuted command name
statussuccess or failure
messageResult message. Includes the start timestamp on success, or a failure reason on error.

Examples

Request

curl -K -X POST \
"https://instance.securid.com/aveksa/command.submit?cmd=importWorkflow&format=json&overwrite=true" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/octet-stream" \
--data-binary "@/path/to/workflow-archive.zip"

Response

{
"data": {
"type": "importWorkflow",
"status": "success",
"message": "Import started..."
}
}

Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.