diff --git a/swagger.json b/swagger.json
index e2e057b7..8b531a85 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1763,75 +1763,6 @@
}
}
}
- },
- "/webform/submit": {
- "post": {
- "summary": "Submit FOIA Request",
- "description": "
You can submit FOIA Requests using the webform endpoint, but you will first need the Request Form for the Agency. Each Agency has their own rules for which fields are required. The elements object from the request_form endpoint will display the required fields for that Agency.
",
- "consumes": ["application/json"],
- "parameters": [{
- "name": "id",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "The ID of the request_form you received from the request_form endpoint."
- }, {
- "name": "email",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "The email address of the requester."
- }, {
- "name": "name_first",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "First Name of requester."
- }, {
- "name": "name_last",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "Last Name of requester."
- },
- {
- "name": "request_description",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "A description for your request."
- },
- {
- "name": "request_category",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "The request category is limited to specific options.
List of example suggestions:
media: 'Representative of the news media'
educational: 'Educational Institution'
scientific: 'Non-commercial scientific institution'
commercial: 'Commercial-use requester'
other: 'All other requester'
"
- },
- {
- "name": "phone_number",
- "in": "formData",
- "type": "string",
- "required": false,
- "description": "A description for your request."
- }
- ],
- "tags": ["Submit FOIA Request"],
- "responses": {
- "200": {
- "description": "Successful Operation"
- },
- "400": {
- "description": "Syntax error"
- },
- "403": {
- "description": "Forbidden: The api_key is missing"
- },
- "404": {
- "description": "Not Found"
- }
- }
- }
}
},
"definitions": {
diff --git a/www.foia.gov/developer/index.md b/www.foia.gov/developer/index.md
index 4e4e2030..5efc5d51 100644
--- a/www.foia.gov/developer/index.md
+++ b/www.foia.gov/developer/index.md
@@ -58,68 +58,6 @@ Fetch the Office of Information Policy’s FOIA request form.
curl -g -v -H 'X-API-Key: ' https://api.foia.gov/api/agency_components/8216158f-8089-431d-b866-dc334e8d4758/request_form
```
-
-### Submission
-
-You can submit a FOIA request using our API. The endpoint for the submission API:
-
- https://api.foia.gov/api/webform/submit
-
-You'll need to identify the request form you are submitting to using the Agency
-component API and provide any relevant data to Agency.
-
-Get the Office of Information Policy's form id.
-
-```
-$ curl -H 'X-API-Key: ' https://api.foia.gov/api/agency_components/8216158f-8089-431d-b866-dc334e8d4758/request_form | jq '.data.attributes.drupal_internal__id'
-"test_form"
-```
-
-Note that each agency may require different information based on their
-regulations. You can see what information is being requested by looking at
-their webform `elements`. Check the element’s properties to determine which
-fields are required.
-
-```
-$ curl -H 'X-API-Key: ' https://api.foia.gov/api/agency_components/8216158f-8089-431d-b866-dc334e8d4758/request_form | jq '.data.attributes.elements | keys'
-[
- "address_city",
- "address_country",
- "address_line1",
- "address_line2",
- "address_state_province",
- "address_zip_postal_code",
- "attachments_supporting_documentation",
- "company_organization",
- "email",
- "expedited_processing",
- "expedited_processing_explanation",
- "fax_number",
- "fee_amount_willing",
- "fee_waiver",
- "fee_waiver_explanation",
- "name_first",
- "name_last",
- "phone_number",
- "request_category",
- "request_description"
-]
-```
-
-Submit a request to the Office of Information Policy.
-
-```
-curl -v -H 'X-Api-Key: ' -H 'Content-Type: application/json' https://api.foia.gov/api/webform/submit --data-binary @- <Federal agencies publish FOIA information in accordance with guidelines prepared by the U. S. Department of Justice Office of Information Policy. These guidelines, available here, describe the format and meaning of FOIA annual report information. In addition, a FOIA Annual Report XML schema has been developed allowing agency FOIA annual report information to be represented and exchanged in a standardized format. This XML schema closely follows the structure and terminology of the guidance document, and conforms to the NIEM standard (http://niem.gov).