|
For the latest stable version, please use Unifly Services v4.7! |
Request Operation Activation Example
Here’s a basic example of how to request operation activation using curl:
#!/bin/bash
# Base variables
API_KEY="your-api-key-here"
BASE_URL="https://portal.demo.unifly.tech/api/gcs"
OPERATION_ID="your-operation-id"
# Request operation activation
curl -X POST "${BASE_URL}/uasoperations/${OPERATION_ID}/requestActivation" \
-H "apikey: ${API_KEY}" \
-H "Content-Type: application/json" \
-v
The -v flag enables verbose output, showing the full HTTP request and response including headers.
|
|
Possible response codes:
If you receive a 409 response, the response body will include a message explaining why:
Common reasons for activation rejection:
|