Refresh internal tasks
post
                    https://{managementIp}/rest/{version}/admin/refresh/{task}
Refreshes either the Fraud Protection Engine (FPE) with the recently uploaded FPE file or the Local Routing Table (LRT) with the recently uploaded LRT file. 
For more information, see Telephony Fraud Protection or Local Route Tables in the ACLI Configuration Guide.
                For more information, see Telephony Fraud Protection or Local Route Tables in the ACLI Configuration Guide.
This API is only available for SBC and ESBC.
Request
Path Parameters
                - 
                    task(required):  string
                    
                    Specifies the internal task to execute a refresh on.
 - 
                    version(required):  string
                    
                    REST API version string.
Available values: v1.2 
Query Parameters
                    - 
                            filename: string
                            
                            File name to use for refresh action
 
Header Parameters
                    - 
                            Authorization(required): 
                            
                            The value in the Authorization header must be the string "
Bearer {access token}", where{access token}is a valid, unexpired token received in response to a prior/rest/{version}/auth/tokenrequest. 
There's no request body for this operation.
Back to TopResponse
Supported Media Types
                - application/xml
 
204 Response
Successful refresh of the internal task data. There is no response body for a successful refresh.
                            
                            
                            
                            
                        400 Response
The request is malformed in some way or is missing required information and therefore cannot be processed.
                            
                            
                                Nested Schema : data
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    link: string
                    
                    
                     
                    
                
                
                If available, a message with possible valid API URL(s) for the client to invokeExample:
Available URL(s) message string 
401 Response
Unauthorized - Request lacks valid authentication credentials.
                            
                            
                                Nested Schema : data
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    link: string
                    
                    
                     
                    
                
                
                If available, a message with possible valid API URL(s) for the client to invokeExample:
Available URL(s) message string 
403 Response
This request requires the client credentials to have administrator privileges.
                            
                            
                                Nested Schema : data
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    link: string
                    
                    
                     
                    
                
                
                If available, a message with possible valid API URL(s) for the client to invokeExample:
Available URL(s) message string 
404 Response
Unsupported versionId in URI.
                            
                            
                                Nested Schema : data
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    link: string
                    
                    
                     
                    
                
                
                If available, a message with possible valid API URL(s) for the client to invokeExample:
Available URL(s) message string 
Examples
Examples of Accessing the API
See Authenticate for how to acquire a token.
The following example shows how to refresh internal tasks using curl.
curl -X POST \
    --header "Accept: application/xml" \
    --header "Authorization: Bearer $TOKEN" \
    "https://${SBCIP}/rest/v1.1/admin/refresh/fpe"The following example shows how to refresh internal tasks using Python.
import requests
headers = { "Accept":"application/xml", "Authorization":"Bearer " + token }
url  = "https://" + sbcip + "/rest/v1.1/admin/refresh/fpe"
resp = requests.post(url, headers=headers)Note:
The value of '{task}' must be either 'fpe' or 'lrt'.Example of the Response Body
This endpoint does not return a response body.