---
updatedAt: 2026-04-20T19:23:26.000Z
---

# Update an access map

This operation updates the details of an access map instance.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Access maps",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{hostname}/api/lcdn-mapping/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth_v2": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.\n",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/api/identity/v1/oauth/authorize",
            "tokenUrl": "/api/identity/v1/oauth/token",
            "scopes": {
              "coblitz.co": "d",
              "coblitz.obs": "d",
              "lcdn-service.admin": "This scope can be assigned to applications to grant administrative permission for LCDN mapping configuration.",
              "lcdn-service.read": "This scope can be assigned to applications to grant read-only permission for LCDN mapping configuration."
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "paths": {
    "/access-maps": {
      "get": {
        "operationId": "get-access-maps",
        "summary": "List access maps",
        "description": "This operation returns a list of all configured access maps.",
        "parameters": [
          {
            "description": "Filters the returned collection.\n",
            "in": "query",
            "name": "filter",
            "schema": {
              "type": "string",
              "example": "filter=name==foo"
            }
          },
          {
            "description": "Specifies that either the `detailed` or default `summary` view be\nreturned.\n",
            "in": "query",
            "name": "view",
            "schema": {
              "default": "summary",
              "type": "string",
              "enum": [
                "summary",
                "detailed"
              ],
              "example": "summary"
            }
          },
          {
            "description": "Specifies the sort order of the returned collection.\n",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Specifies an offset into the results.  Use in conjunction with `pageSize`.  Page number offset is 1-based.\n",
            "in": "query",
            "name": "pageNumber",
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer",
              "example": 2
            }
          },
          {
            "description": "Specifies the number of results per page.  Use in conjunction with `pageNumber`.\n",
            "in": "query",
            "name": "pageSize",
            "schema": {
              "default": 100,
              "maximum": 1000,
              "minimum": 1,
              "type": "integer",
              "example": 2
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "page": {
                    "pageNumber": 1,
                    "pageSize": 100,
                    "totalPages": 1,
                    "totalResults": 1
                  },
                  "maps": [
                    {
                      "mapId": 1863,
                      "name": "access_map1"
                    }
                  ]
                },
                "schema": {
                  "description": "Access Map collection.\n",
                  "properties": {
                    "maps": {
                      "type": "array",
                      "items": {
                        "description": "Access Map summary read schema.\n",
                        "type": "object",
                        "properties": {
                          "mapId": {
                            "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/schema/properties/mapId",
                            "readOnly": true
                          },
                          "name": {
                            "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/schema/properties/name"
                          }
                        },
                        "required": [
                          "name",
                          "mapId"
                        ]
                      }
                    },
                    "page": {
                      "description": "Common page properties for search results.\n",
                      "properties": {
                        "pageNumber": {
                          "type": "integer",
                          "description": "Indicates the page number of the current results, given the page size.\n"
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "Indicates the page size for the current results.\n"
                        },
                        "totalPages": {
                          "type": "integer",
                          "description": "Indicates the total number of pages, taking the pages size into consideration.\n"
                        },
                        "totalResults": {
                          "type": "integer",
                          "description": "Indicates the total number of results from the search.\n"
                        }
                      },
                      "required": [
                        "pageNumber",
                        "pageSize"
                      ]
                    }
                  },
                  "required": [
                    "maps",
                    "page"
                  ]
                }
              }
            },
            "description": "Successful response\n"
          },
          "403": {
            "description": "An HTTP 403 will be returned if the principal is not authorized to access the instance of access-map that the request was made against.\n",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Unauthorized access HTTP problem.\n",
                  "allOf": [
                    {
                      "description": "Base HTTP problem type.\n",
                      "properties": {
                        "status": {
                          "type": "integer",
                          "description": "Optionally specified HTTP status code.\n"
                        },
                        "type": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string",
                          "description": "Human readable title of the class of problem that occurred.\n"
                        },
                        "detail": {
                          "type": "string",
                          "description": "Human readable description of the class of problem that occurred.\n"
                        },
                        "instance": {
                          "type": "string",
                          "description": "Unique identifier for an instance of a problem.\n",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "type",
                        "instance"
                      ]
                    },
                    {
                      "properties": {
                        "entity": {
                          "description": "A summary of an entity involved in a problem.\n",
                          "properties": {
                            "entityType": {
                              "type": "string",
                              "description": "Name of the entity type.\n"
                            },
                            "entityId": {
                              "description": "Id of the entity in question.\n"
                            },
                            "entityName": {
                              "type": "string",
                              "description": "Human readable name of the entity, if provided by the entity type.\n"
                            },
                            "entityHref": {
                              "type": "string",
                              "format": "uri",
                              "description": "URI pointing to the entity.\n"
                            }
                          },
                          "required": [
                            "entityType",
                            "entityId",
                            "entityHref"
                          ]
                        },
                        "permission": {
                          "type": "string",
                          "description": "The permission required to access the entity.\n"
                        }
                      }
                    }
                  ],
                  "required": [
                    "type",
                    "instance",
                    "entity",
                    "permission"
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "coblitz.obs",
              "lcdn-service.admin",
              "lcdn-service.read"
            ]
          }
        ]
      },
      "post": {
        "operationId": "post-access-maps",
        "summary": "Create a new access map",
        "description": "This operation creates a new Access Map instance.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "metadata",
                  "config"
                ],
                "properties": {
                  "config": {
                    "description": "An access map in its native format, as described in Aura documentation.\n",
                    "example": "map 0.0.0.0/0 : allow\n",
                    "type": "string"
                  },
                  "metadata": {
                    "description": "The metadata portion is the JSON configuration describing the mapping object.\n",
                    "example": {
                      "description": "Default access map.\n",
                      "name": "access_map1"
                    },
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/example"
                },
                "schema": {
                  "description": "Access Map object definitions.\n",
                  "type": "object",
                  "properties": {
                    "mapId": {
                      "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/schema/properties/mapId",
                      "readOnly": true
                    },
                    "name": {
                      "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/schema/properties/name"
                    },
                    "description": {
                      "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/schema/properties/description"
                    }
                  },
                  "required": [
                    "name",
                    "mapId"
                  ]
                }
              }
            },
            "description": "Successful response\n",
            "headers": {
              "Location": {
                "description": "The location header specifies a URI pointing to the newly created resource.\n",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "An HTTP 201 will be returned if the request is successfully processed, and a new access-map object is created.  The location of the new object will be specified in the location header.\n",
            "headers": {
              "$ref": "#/paths/~1access-maps/post/responses/200/headers"
            }
          },
          "400": {
            "description": "An HTTP 400 will be returned if the request is badly formed or has constraint violations.\n",
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.constraint-violation",
                  "title": "The request entity is invalid",
                  "detail": "Constraint violations were detected",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/v1/nodes#7284f092-f2f1-4131-a9dc-f8a5b7b6980f",
                  "violations": [
                    {
                      "property": "#/hostname",
                      "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.not-null-violation",
                      "detail": "may not be null"
                    }
                  ]
                },
                "schema": {
                  "description": "Super type to enumerate 400 class errors.\n",
                  "anyOf": [
                    {
                      "description": "Invalid path param HTTP problem.  Used when the server can't process a path param due to incorrect type/formatting.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "pathParamName": {
                              "type": "string"
                            },
                            "pathParamValue": {
                              "description": "The value supplied in the request.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "pathParamName",
                        "pathParamValue"
                      ]
                    },
                    {
                      "description": "JSON mapping HTTP problem.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "property": {
                              "type": "string"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "property"
                      ]
                    },
                    {
                      "$ref": "#/paths/~1access-maps/post/responses/400/content/application~1json/schema/anyOf/0"
                    },
                    {
                      "description": "Path-param/entity-field mismatch HTTP problem.  In many situations, we have entities referenced via a URI that includes their identifier.  That identifier may also be in the body.  If they don't match, it's unclear what the intended operation is, so this error is used.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "uriParameterName": {
                              "type": "string",
                              "description": "The name of the URI parameter.\n"
                            },
                            "uriParameterValue": {
                              "description": "The supplied value of the URI parameter.\n"
                            },
                            "property": {
                              "type": "string",
                              "description": "The name of the field in the entity that must match the URI param.\n"
                            },
                            "propertyValue": {
                              "description": "The supplied value of the field.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "uriParameterName",
                        "uriParameterValue",
                        "property",
                        "propertyValue"
                      ]
                    },
                    {
                      "description": "Invalid parameter HTTP problem.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "parameter": {
                              "type": "string",
                              "description": "The parameter that is in error.\n"
                            },
                            "value": {
                              "description": "The value that was provided.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "parameter",
                        "value"
                      ]
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "violations": {
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "allOf": [
                                      {
                                        "properties": {
                                          "property": {
                                            "type": "string",
                                            "description": "The property in the request that has caused a violation.\n"
                                          },
                                          "value": {
                                            "description": "The value in the request that has caused a violation.\n"
                                          },
                                          "type": {
                                            "type": "string",
                                            "format": "uri",
                                            "description": "Uniquely identifies this HTTP problem.\n"
                                          },
                                          "detail": {
                                            "type": "string",
                                            "description": "Human readable description of the problem.\n"
                                          }
                                        },
                                        "required": [
                                          "property",
                                          "type"
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1access-maps/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the minimum allowable value for the given property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "min"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1access-maps/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the maximum allowable value for the given property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "max"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1access-maps/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the maximum allowable size for the given property.  For strings this is the string length.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "size"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1access-maps/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "pattern": {
                                            "type": "string",
                                            "description": "Specifies the allowable pattern for a property.  This would usually be a regular expression.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "pattern"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1access-maps/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "requiredValue": {
                                            "type": "boolean",
                                            "description": "Specifies the allowable condition value for a property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "requiredValue"
                                    ]
                                  }
                                ]
                              }
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "$ref": "#/paths/~1access-maps/get/responses/403"
          },
          "409": {
            "description": "An HTTP 409 will be returned if the access-map offered for create/update would lead to a conflicting state.\n",
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.entity-property-conflict",
                  "title": "The request has conflicting properties with existing configuration",
                  "detail": "An entity with property 'hostname' of 'test.akamai.com' already exists",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/v1/nodes#a4e84e37-ec37-4a13-83d7-ba1d75a36029",
                  "conflictingProperty": "#/hostname",
                  "conflictingValue": "test.akamai.com",
                  "conflictingEntity": {
                    "entityHref": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/v1/nodes/1",
                    "entityType": "Node",
                    "entityId": 1
                  }
                },
                "schema": {
                  "description": "Super type to enumerate 409 class errors.\n",
                  "anyOf": [
                    {
                      "description": "Entity property conflict HTTP problem.  Used when an attempt is made to set a property on an entity that would cause conflict with an existent entity.  For example, attempting to set duplicate surrogate identifiers.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "conflictingProperty": {
                              "type": "string"
                            },
                            "conflictingValue": {
                              "description": "The supplied value.\n"
                            },
                            "conflictingEntity": {
                              "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/1/properties/entity",
                              "description": "The existing entity which the proposed change is in conflict with.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "conflictingProperty",
                        "conflictingValue",
                        "conflictingEntity"
                      ]
                    },
                    {
                      "description": "Entity referenced HTTP problem.  Used in cases where an attempt is made to delete an entity that other entities are referring to, and simply removing the reference would not lead to a valid state.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "referencedEntity": {
                              "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/1/properties/entity"
                            },
                            "referringEntities": {
                              "type": "array",
                              "items": {
                                "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/1/properties/entity"
                              }
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "referencedEntity",
                        "referringEntities"
                      ]
                    },
                    {
                      "description": "Non-existent reference HTTP problem.  Used when a mutable operation attempts to refer to another resource that does not exist.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1access-maps/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "referencedType": {
                              "type": "string",
                              "description": "The type of the object that was referenced.\n"
                            },
                            "referencedId": {
                              "description": "The Id of the object that was referenced.\n"
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "lcdn-service.admin"
            ]
          }
        ]
      }
    },
    "/access-maps/{mapId}": {
      "parameters": [
        {
          "description": "Uniquely identifies a site map instance.\n",
          "in": "path",
          "name": "mapId",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 1863
          }
        }
      ],
      "put": {
        "operationId": "put-access-maps-mapid",
        "summary": "Update an access map",
        "description": "This operation updates the details of an access map instance.",
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "mapId": 1863,
                "description": "Default access map.",
                "name": "access_map1"
              },
              "schema": {
                "description": "Access Map update schema.\n",
                "type": "object",
                "properties": {
                  "mapId": {
                    "readOnly": true,
                    "type": "integer",
                    "minimum": 1,
                    "description": "The unique identifier for an entity.\n"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128,
                    "pattern": "[a-zA-z0-9\\-_]*",
                    "description": "A unique name for the entity.\n"
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256,
                    "pattern": "[a-zA-z0-9\\-_]*",
                    "description": "A description for the entity.\n"
                  }
                },
                "required": [
                  "name",
                  "mapId"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1access-maps~1%7BmapId%7D/put/requestBody/content/application~1json/example"
                },
                "schema": {
                  "$ref": "#/paths/~1access-maps/post/responses/200/content/application~1json/schema"
                }
              }
            },
            "description": "An HTTP 200 will signify the successful update of an access-map instance.\n"
          },
          "400": {
            "$ref": "#/paths/~1access-maps/post/responses/400"
          },
          "403": {
            "$ref": "#/paths/~1access-maps/get/responses/403"
          },
          "404": {
            "$ref": "#/paths/~1access-maps~1%7BmapId%7D/get/responses/404"
          },
          "409": {
            "$ref": "#/paths/~1access-maps/post/responses/409"
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "lcdn-service.admin"
            ]
          }
        ]
      }
    }
  }
}
```

# Sibling pages

* [Remove an access map](https://techdocs.akamai.com/aura-lcdn-mapping/reference/delete-access-maps-mapid.md)
* [Get an access map](https://techdocs.akamai.com/aura-lcdn-mapping/reference/get-access-maps-mapid.md)