---
title: "Update AS2 Station"
method: PATCH
path: "/as2_stations/{id}"
tags: ["as2_stations", "AS2 Stations"]
---

# Update AS2 Station

`PATCH /as2_stations/{id}`

Update AS2 Station

## Path parameters

- `id` integer, required

## Response `200`

The As2Stations object.

- As2StationEntity — As2StationEntity model
  - `id` integer — Id of the AS2 Station.
  - `workspace_id` integer — ID of the Workspace associated with this AS2 Station.
  - `name` string — The station's formal AS2 name.
  - `uri` string — Public URI for sending AS2 message to.
  - `domain` string — The station's AS2 domain name.
  - `hex_public_certificate_serial` string — Serial of public certificate used for message security in hex format.
  - `public_certificate_md5` string — MD5 hash of public certificate used for message security.
  - `public_certificate` string — Public certificate used for message security.
  - `private_key_md5` string — MD5 hash of private key used for message security.
  - `public_certificate_subject` string — Subject of public certificate used for message security.
  - `public_certificate_issuer` string — Issuer of public certificate used for message security.
  - `public_certificate_serial` string — Serial of public certificate used for message security.
  - `public_certificate_not_before` string — Not before value of public certificate used for message security.
  - `public_certificate_not_after` string — Not after value of public certificate used for message security.
  - `private_key_password_md5` string — MD5 hash of private key password used for message security.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Conflict
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests

---

[API](https://skmtc.net/files/apis/files-com-api.md) · [All operations](https://skmtc.net/files/apis/files-com-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/files/files-com-api/versions/c80c746637fd/schema)
