Create a GlobalProtect agent profile
POST/agent-profiles
Create a new GlobalProtect agent profile
Request
Query Parameters
The folder in which the resource is defined
- application/json
Body
Created
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
- Array [
- fqdn
- ip
- Array [
- ]
- ]
- Array [
- fqdn
- ip
- ]
- Array [
- connect-method
- tunnel-mtu
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
Default value: Mobile Users
agent_ui object
Agent UI configuration settings
Possible values: <= 65535
Default value: 0
Agent disabled duration (minutes). A value of 0
means the agent will remain disabled until manually enabled.
Possible values: <= 25
Default value: 0
The maximum number of times the agent can be disabled. A value of 0
means there are no limits to the number of times the agent can be disabled.
Possible values: >= 6 characters
and <= 64 characters
The passcode used to disable the agent
Possible values: >= 6 characters
and <= 32 characters
The password used to uninstall the agent
welcome_page object
The welcome page displayed upon login
authentication_override object
accept_cookie object
cookie_lifetime object
Possible values: >= 1
and <= 365
Possible values: >= 1
and <= 72
Possible values: >= 1
and <= 59
certificate object
criteria object
client_certificate object
Possible values: <= 255 characters
custom_checks object
criteria object
plist object[]
key object[]
Possible values: <= 1024 characters
, Value must match regular expression .*
registry_key object[]
Possible values: <= 1023 characters
Possible values: <= 1024 characters
registry_value object[]
gateways object
external object
list object[]
choice object
ip object
Possible values: <= 100 characters
, Value must match regular expression ^([:0-9.])+$
Possible values: <= 100 characters
If this GlobalProtect gateway can be manually selected
priority_rule object[]
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
internal object
list object[]
choice object
ip object
Possible values: <= 100 characters
, Value must match regular expression ^([:0-9.])+$
Possible values: <= 100 characters
gp_app_config object
config object[]
Currently we only support connect-method and tunnel-mtu as app-config
Possible values: [connect-method
]
Default value: connect-method
Possible values: [user-logon
, pre-logon
, on-demand
, pre-logon-then-on-demand
], >= 1
, <= 1
Possible values: [tunnel-mtu
]
Default value: tunnel-mtu
Possible values: >= 1
, <= 1
GlobalProtect Connection MTU (bytes)
hip_collection object
custom_checks object
linux object
mac_os object
plist object[]
Possible values: <= 1023 characters
Preference list
windows object
registry_key object[]
Possible values: <= 1023 characters
Registry key
exclusion object
category object[]
vendor object[]
Possible values: >= 10
and <= 60
internal_host_detection object
Possible values: <= 256 characters
, Value must match regular expression ^[a-zA-Z0-9._-]+$
Host name of the IPv4 in DNS record
Internal IPv4 address of a host
internal_host_detection_v6 object
Possible values: <= 256 characters
, Value must match regular expression ^[a-zA-Z0-9._-]+$
Host name of the IPv4 in DNS record
Internal IPv6 address of a host
machine_account_exists_with_serialno object
Possible values: [Android
, Chrome
, IoT
, Linux
, Mac
, Windows
, WindowsUWP
, iOS
]
Possible values: [0
, 1
, 2
, 3
]
Possible values: [PAN Virtual Ethernet Adapter
, Juniper Network Virtual Adapter
, Cisco Systems VPN Adapter
]
Responses
- 201
- 400
- 401
- 403
- 409
- default
Created
Bad Request
- application/json
- Schema
- Example (from schema)
- input_format_mismatch
- output_format_mismatch
- missing_query_parameter
- invalid_query_parameter
- missing_body
- invalid_object
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E003",
"message": "Input Format Mismatch: input-format=json",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Output Format Mismatch: output-format=json Accept=xml",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Query Parameter: name",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Query Parameter: location=invalid",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Body",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Object",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- auth_not_authenticated
- invalid_credential
- key_too_long
- key_expired
- need_password_change
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Not Authenticated",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Invalid Credential",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Too Long",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Expired",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "The password needs to be changed.",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- auth_unauthorized
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E007",
"message": "Unauthorized",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Conflict
- application/json
- Schema
- Example (from schema)
- object_not_unique
- name_not_unique
- reference_not_zero
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Object Not Unique",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E006",
"message": "Name Not Unique",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E009",
"message": "Reference Not Zero",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
General Errors
- application/json
- Schema
- Example (from schema)
- version_not_supported
- method_not_allowed
- action_not_supported
- bad_xpath
- invalid_command
- malformed_command
- session_timeout
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E012",
"message": "Version Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Method Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Action Not Supported: move",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E013",
"message": "Bad XPath",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Malformed Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "4",
"message": "Session Timeout",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}