Retrieve a list of acceptable CSV formats for uploading tasks.

Retrieves a list of acceptable CSV formats for uploading tasks.

Request
Security:
path Parameters
orgID
required
integer

The ID of the target organization.

type
required
string
Default: "patch"

The type of Task to be created.

Value: "patch"
Responses
200

successful operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

503

Service Unavailable

get/orgs/{orgID}/tasks/{type}/batches/formats
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }
$url = "https://console.automox.com/api/orgs/:orgID/tasks/patch/upload/formats"

$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/json").Content
Response samples
application/json
[
  • {
    • "name": "string",
    • "format": "csv",
    • "headers": [
      • {
        • "header": "string",
        • "required": true,
        • "example": "string"
        }
      ]
    }
]