---
title: "Apply BIG-IP AS3 configuration"
method: POST
path: "/declare"
tags: ["Configuration"]
---

# Apply BIG-IP AS3 configuration

`POST /declare`

Use POST to deploy a configuration to a target ADC, or for certain other actions, including *retrieve*.
You must supply a request document with each POST.
The request document may be a proper request or a ADC-only declaration

## Query parameters

- `async` boolean
- `controls.dryRun` boolean
- `controls.logLevel` string
- `controls.trace` boolean
- `controls.traceResponse` boolean
- `controls.userAgent` string
- `show` string
- `showHash` boolean

## Request body

- object
  - `body` Declaration

## Response `200`

Successful response to synchronous request

- object
  - `results` Result[] — The results of the task per-tenant
    - `code` 0 | 200 | 202 | 422 | 500 — HTTP status code describing the outcome of applying the tenant's configuration. This will be 0 until the tenant is done being processed.
    - `message` string — The current status of the task to configure the tenant.
    - `lineCount` integer — The number of lines in the tenant's configuration.
    - `host` string — The host name that the tenant was deployed on.
    - `tenant` string — The tenant that was configured.
    - `runTime` integer — The time (in milliseconds) it took to process the tenant.
  - `declaration` Declaration

## Other responses

- `202` — Successful response to asynchronous request
- `422` — An invalid configuration was provided
- `500` — Something went wrong internally, and a bug report should be filed&#58; https://github.com/F5Networks/f5-appsvcs-extension/issues/new/choose
- `503` — BIG-IP AS3 is currently processing a configuration, and cannot process another at this time

---

[API](https://skmtc.net/f5networks/apis/f5-big-ip-as3.md) · [All operations](https://skmtc.net/f5networks/apis/f5-big-ip-as3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/f5networks/f5-big-ip-as3/versions/e7dc931778cf/schema)
