---
updatedAt: 2026-03-01T18:53:40.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/firewall-rules/llms.txt
---

# Update subscriptions

Subscribe or unsubscribe users to services.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Subscriptions",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://{hostname}/firewall-rules-manager/v1"
    }
  ],
  "paths": {
    "/subscriptions": {
      "get": {
        "description": "List subscriptions you created for yourself and other users. You can only see the subscription information for configurations you created yourself. If someone else subscribed you to a service, you won't see that subscription returned by this operation.\n",
        "operationId": "get-subscriptions",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "subscriptions": [
                    {
                      "subscriptionId": 1,
                      "serviceId": 13,
                      "serviceName": "Test IPs",
                      "createdBy": "username",
                      "email": "mp@mail.com",
                      "signupDate": "2021-03-28"
                    },
                    {
                      "subscriptionId": 2,
                      "serviceId": 15,
                      "serviceName": "CCUAPI",
                      "createdBy": "username2",
                      "email": "abcd@akamai.com",
                      "signupDate": "2021-10-11"
                    }
                  ]
                },
                "schema": {
                  "type": "object",
                  "description": "Test.\n",
                  "properties": {
                    "subscriptions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "Displays subscriptions for a service.\n",
                        "properties": {
                          "subscriptionId": {
                            "type": "integer",
                            "description": "A unique identifier for a subscription.\n"
                          },
                          "createdBy": {
                            "type": "string",
                            "description": "A username who created a subscription.\n"
                          },
                          "serviceId": {
                            "type": "integer",
                            "description": "A unique identifier for a service.\n"
                          },
                          "serviceName": {
                            "type": "string",
                            "description": "The name of a service. This is often the same as the product you purchased.\n"
                          },
                          "email": {
                            "type": "string",
                            "description": "The email of the user subscribed to a service and receiving notifications about the CIDR block updates.\n"
                          },
                          "signupDate": {
                            "type": "string",
                            "description": "The date a subscriber signed up for notifications. The date is in ISO format.\n"
                          }
                        },
                        "required": [
                          "subscriptionId",
                          "createdBy",
                          "serviceId",
                          "serviceName",
                          "email",
                          "signupDate"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "description": "Successful response.\n"
          }
        },
        "summary": "List subscriptions"
      },
      "put": {
        "description": "Subscribe or unsubscribe users to services.\n",
        "operationId": "put-subscriptions",
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "subscriptions": [
                  {
                    "serviceId": 13,
                    "email": "mp@mail.com"
                  },
                  {
                    "serviceId": 15,
                    "email": "abcd@akamai.com"
                  }
                ]
              },
              "schema": {
                "type": "object",
                "description": "Test.\n",
                "properties": {
                  "subscriptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "description": "Information necessary to include when subscribing users to CIDR block notifications for a service.\n",
                      "properties": {
                        "serviceId": {
                          "type": "integer",
                          "description": "A unique identifier for a service.\n"
                        },
                        "email": {
                          "type": "string",
                          "description": "The email belonging to the user you want to subscribe.\n"
                        }
                      },
                      "required": [
                        "serviceId",
                        "email"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1subscriptions/get/responses/200/content/application~1json/example"
                },
                "schema": {
                  "$ref": "#/paths/~1subscriptions/get/responses/200/content/application~1json/schema"
                }
              }
            },
            "description": "Successful response.\n"
          }
        },
        "summary": "Update subscriptions"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "externalDocs": {
    "url": "https://techdocs.akamai.com/firewall-rules/reference",
    "description": "See documention for Akamai's Firewall Rules API"
  }
}
```

# Sibling pages

* [List subscriptions](https://techdocs.akamai.com/firewall-rules/reference/get-subscriptions.md)
* [Add or remove subscriptions](https://techdocs.akamai.com/firewall-rules/reference/patch-subscriptions.md)