---
updatedAt: 2026-08-24T15:48:49.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/application-security/llms.txt
---

# Activate an FAI configuration version

This activates a specific version of an FAI configuration, which deploys it and starts enforcing its rules. The call takes no request body, and the `Location` header of the response gives you the URL of the activation record. Activation completes before the response returns, so the record's `status` is already the final result, `SUCCEEDED` or `FAILED`. A successful activation is permanent. There's no deactivate operation, the version becomes read-only, and the configuration counts against the `maxActiveFaiConfigs` limit reported by the [Get numeric constraints](ref:get-configuration-limits) operation. To carry on from an active version, clone it, edit the clone, then activate the clone.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Application Security API",
    "url": "https://techdocs.akamai.com/application-security/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Firewall for AI Configuration",
    "version": "v1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/fai-configurations/{faiConfigId}/versions/{version}/activate": {
      "post": {
        "description": "This activates a specific version of an FAI configuration, which deploys it and starts enforcing its rules. The call takes no request body, and the `Location` header of the response gives you the URL of the activation record. Activation completes before the response returns, so the record's `status` is already the final result, `SUCCEEDED` or `FAILED`. A successful activation is permanent. There's no deactivate operation, the version becomes read-only, and the configuration counts against the `maxActiveFaiConfigs` limit reported by the [Get numeric constraints](ref:get-configuration-limits) operation. To carry on from an active version, clone it, edit the clone, then activate the clone.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Application Security API",
          "url": "https://techdocs.akamai.com/application-security/reference/post-fai-configuration-version-activate"
        },
        "operationId": "post-fai-configuration-version-activate",
        "parameters": [
          {
            "description": "Identifier for the FAI configuration.",
            "example": "12345",
            "in": "path",
            "name": "faiConfigId",
            "required": true,
            "schema": {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/fai-config-id-path.yaml"
            }
          },
          {
            "description": "Version number of the FAI configuration.",
            "example": 5,
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "x-akamai": {
              "file-path": "parameters/fai-version-path.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "activationId": "98766",
                  "faiConfigId": "12345",
                  "status": "SUCCEEDED",
                  "version": 6
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Represents the result of a configuration version activation.",
                  "properties": {
                    "activationId": {
                      "description": "__Read-only__ Unique identifier for the activation.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "completedDate": {
                      "description": "__Read-only__ ISO 8601 timestamp when the activation completed, or `null` while `PENDING`.",
                      "format": "date-time",
                      "nullable": true,
                      "readOnly": true,
                      "type": "string"
                    },
                    "createdBy": {
                      "description": "__Read-only__ User who initiated the activation.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "createdDate": {
                      "description": "__Read-only__ ISO 8601 timestamp when the activation was initiated.",
                      "format": "date-time",
                      "readOnly": true,
                      "type": "string"
                    },
                    "faiConfigId": {
                      "description": "__Read-only__ Configuration ID.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "status": {
                      "description": "__Read-only__ Activation result, either `SUCCEEDED` or `FAILED`. Activation runs within the activate request, so its response already has the final status. `PENDING` only shows while that request is still running, for example to another caller listing activations.",
                      "enum": [
                        "PENDING",
                        "SUCCEEDED",
                        "FAILED"
                      ],
                      "readOnly": true,
                      "type": "string"
                    },
                    "version": {
                      "description": "__Read-only__ Activated version number.",
                      "readOnly": true,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "activationId",
                    "faiConfigId",
                    "version",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/fai-activation.yaml"
                  }
                }
              }
            },
            "description": "The response provides the activation record, with the `status` of the activation.",
            "headers": {
              "Location": {
                "description": "The absolute URL of the newly created activation. Returned in the 201 Created response so you can retrieve the new resource.",
                "required": true,
                "schema": {
                  "example": "https://{hostname}/appsec/v1/fai-configurations/12345/activations/98766",
                  "type": "string"
                },
                "x-akamai": {
                  "file-path": "headers/location-activation.yaml"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "faiConfigId must be a number, but the request has \"abc\". Use a faiConfigId from List FAI configurations.",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/00241e66342ab3ed",
                  "status": 400,
                  "title": "Invalid Input Error",
                  "type": "https://problems.luna.akamaiapis.net/appsec/error-types/INVALID-INPUT-ERROR"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Bad request](ref:400). The request isn't valid, for example an id that isn't a number, a missing or out-of-range field, a value that isn't allowed, or rule settings that conflict. The `detail` names the field, the value sent, and what to change.",
            "x-akamai": {
              "file-path": "errors/400-fai.yaml"
            }
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "The signature does not match",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                  "status": 401,
                  "title": "Not authorized",
                  "type": "https://problems.luna-dev.akamaiapis.net/-/pep-authn/deny"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Unauthorized](ref:401).",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "You don't have permission to read configuration 12345. Ask your Akamai administrator for access to the group that owns it.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/00264e4851db2f06",
                  "status": 403,
                  "title": "This operation is invalid",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/FORBIDDEN-OPERATION"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Forbidden](ref:403). You don't have the access this operation needs, or your account isn't entitled to a feature the request uses, such as a rule, the `MODIFY` action, or `languages`. The `detail` says which access or entitlement to ask for.",
            "x-akamai": {
              "file-path": "errors/403-fai.yaml"
            }
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Configuration 12345 doesn't exist in your account. Check the faiConfigId, or run List FAI configurations to find it.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/0026e8bba97ea06e",
                  "status": 404,
                  "title": "Not Found",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/NOT-FOUND"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Not found](ref:404). A resource in the URL doesn't exist: the configuration, version, custom PII type, application, access key, or activation. The `detail` names the missing id and where to find valid ones.",
            "x-akamai": {
              "file-path": "errors/404-fai.yaml"
            }
          },
          "409": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Version 4 of configuration 12345 is already active. To change the live configuration, clone the version, edit the clone, and activate the clone.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/c4898f20318a4a69",
                  "status": 409,
                  "title": "Concurrent Modification Error",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/CONCURRENT-MODIFICATION-ERROR"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Conflict](ref:409). The version can't be activated right now. Either it's already active, another version of the configuration is pending activation, or the account has reached its activation limit.",
            "x-akamai": {
              "file-path": "errors/409-fai-version-already-active.yaml"
            }
          },
          "500": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Activation of version 5 of configuration 12345 failed, and the version is now FAILED. Activate it again. If it keeps failing, contact Akamai support and include the instance value.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/0027832f012211d6",
                  "status": 500,
                  "title": "Internal Server Error",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/INTERNAL-SERVER-ERROR"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Internal server error](ref:500). Deploying the version failed, and its `activationStatus` is now `FAILED`, or something else failed on Akamai's side. Activate it again. If it keeps failing, contact Akamai support with the `instance` value.",
            "x-akamai": {
              "file-path": "errors/500-fai-activate.yaml"
            }
          }
        },
        "summary": "Activate an FAI configuration version",
        "tags": [
          "Configuration versions"
        ],
        "x-akamai": {
          "path-info": "/fai-configurations/{faiConfigId}/versions/{version}/activate"
        }
      },
      "x-akamai": {
        "file-path": "paths/fai-configuration-version-activate.yaml"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/appsec/v1"
    }
  ],
  "tags": [
    {
      "description": "Manage configurations and their versions.",
      "name": "Configuration versions"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "07-fai-configuration.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [Get the latest configuration version](https://techdocs.akamai.com/application-security/reference/get-fai-configuration-version-latest.md)
* [Get a configuration version](https://techdocs.akamai.com/application-security/reference/get-fai-configuration-version.md)
* [Update a configuration version](https://techdocs.akamai.com/application-security/reference/put-fai-configuration-version.md)
* [Clone an FAI configuration version](https://techdocs.akamai.com/application-security/reference/post-fai-configuration-version-clone.md)