Describe a Geo policy by ID
get/geopolicies/{id}
SecurityTrend Micro Cloud One API Key
Request
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
503
Service Unavailable
Response samples
- 200
application/json
{- "id": 0,
- "version": "string",
- "rule": {
- "selector": {
- "countryIsoCodes": [
- "string"
], - "includesAnonymousProxy": true
}, - "actionSetUuid": "string"
}, - "enabled": true
}
Update a Geo policy by ID
put/geopolicies/{id}
SecurityTrend Micro Cloud One API Key
Request
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
503
Service Unavailable
Request samples
- Payload
application/json
{- "rule": {
- "selector": {
- "countryIsoCodes": [
- "string"
], - "includesAnonymousProxy": true
}
}, - "enabled": true
}
Response samples
- 200
application/json
{- "id": 0,
- "version": "string",
- "rule": {
- "selector": {
- "countryIsoCodes": [
- "string"
], - "includesAnonymousProxy": true
}, - "actionSetUuid": "string"
}, - "enabled": true
}
Distribute a Geo policy to an appliance
post/geopolicies/{policyId}/appliances/{applianceId}/distribute
SecurityTrend Micro Cloud One API Key
Request
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
503
Service Unavailable
Response samples
- 200
application/json
{- "id": 0,
- "rootJobId": 0,
- "type": "entry",
- "state": "pending",
- "applianceId": 0,
- "entryVersion": "string",
- "policyVersion": "string",
- "completeMessage": "string",
- "submitted": "2019-08-24T14:15:22Z",
- "started": "2019-08-24T14:15:22Z",
- "completed": "2019-08-24T14:15:22Z"
}
List all Geo policies
get/geopolicies
SecurityTrend Micro Cloud One API Key
Request
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
503
Service Unavailable
Response samples
- 200
application/json
{- "next": "string",
- "totalCount": 0,
- "policies": [
- {
- "id": 0,
- "version": "string",
- "rule": {
- "selector": {
- "countryIsoCodes": [
- "string"
], - "includesAnonymousProxy": true
}, - "actionSetUuid": "string"
}, - "enabled": true
}
]
}