Activate staged config changes
https://cloud-native-SBC-IP/config/v1/activate
Request
There are no request parameters for this operation.
There's no request body for this operation.
Back to TopResponse
- application/json
200 Response
404 Response
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]
Examples
Example of Accessing the API with cURL
The following example shows how to activate staged config changes by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST \
--header "Accept: application/xml" \
--header "Authorization: Bearer $TOKEN" \
"https://${SBCIP}/config/v1/activate"
Example of Accessing the API with Python
The following example shows how to activate staged config changes by submitting a POST request on the REST resource using Python.
This example assumes you have a valid token stored in the token
variable. For an example of authenticating
with Python, see Authenticate.
import requests
headers = { "Accept":"application/xml", "Authorization":"Bearer " + token }
url = "https://" + sbcip + "/config/v1/activate"
resp = requests.post(url, headers=headers)
Example of the Response Body
This endpoint does not return a response body.