Profiles
Update profile
Changed onUpdate profile. Protection policies are updated at the same time as profile updated
put/security/iaas/v2/profiles/{id}
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/security/iaas/v2/profiles/{id}
- AuthHTTP apikey
Path parameters
idinteger required
Request body
Example request
{
"profile_template": 1,
"fields": [
{
"base_field": 1
}
],
"site": "ED"
}Response
Example response
{
"ip_address": "10.32.5.12",
"fields": [
{
"base_field": 1
}
],
"site": "ED"
}Changes
- warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status
- warning