Skip to main content

Update existing Location Context policy

Parameters

Name

In

Type

Required

Description

body

body

object

true

body

id

path

string

true

id

Body parameter
{
  "countryPolicy": {
    "allowed": true,
    "countries": [
      "string"
    ]
  },
  "defaultPolicy": {
    "allowed": true
  },
  "description": "string",
  "ipPolicy": {
    "allowed": true,
    "ips": [
      {
        "description": "string",
        "ip": "string"
      }
    ]
  },
  "name": "string",
  "userGroupsIds": [
    "string"
  ]
}

Responses

Status

Meaning

Description

200

OK

OK

400

Bad Request

Bad Request

401

Unauthorized

Unauthorized

403

Forbidden

Access Forbidden

404

Not Found

Not Found

406

Not Acceptable

Not Acceptable

429

Too Many Requests

Too Many Requests

500

Internal Server Error

Internal Server Error

To perform this operation, you must be authenticated by means of one of the following methods: OAuth_authorization

{
  "countryPolicy": {
    "allowed": true,
    "countries": [
      "string"
    ]
  },
  "defaultPolicy": {
    "allowed": true
  },
  "description": "string",
  "id": "string",
  "ipPolicy": {
    "allowed": true,
    "ips": [
      {
        "description": "string",
        "ip": "string"
      }
    ]
  },
  "name": "string",
  "userGroupsIds": [
    "string"
  ]
}