---
title: "Upload a Certificate Signing Request (CSR) for a BYOC deployment."
method: POST
path: "/accounts/{name}/certificate_signing_request"
tags: ["Account Operations"]
---

# Upload a Certificate Signing Request (CSR) for a BYOC deployment.

`POST /accounts/{name}/certificate_signing_request`

## Request

- Base URL: `https://replace-with-account.api.decodable.co/v1alpha2`
- URL: `https://replace-with-account.api.decodable.co/v1alpha2/accounts/{name}/certificate_signing_request`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/decodable/apis/decodable-control-plane/docs/accounts/:name/certificate_signing_request/post.ts> (a function with typed inputs; its response is checked against the schema)

Requires permission matching: `account:write:<name>`, where `name` is the account name.

Uploads a CSR to set up a BYOC deployment of Decodable. Contact [Decodable support](mailto:support@decodable.co) 
if you would like to set up a BYOC deployment of Decodable. See [Managed Cloud vs BYOC docs](https://docs.decodable.co/administer/managed-cloud-vs-byoc.html) for deployment details.

## Request body `multipart/form-data`

- object
  - `file` string, binary: The RFC 5967 `application/pkcs10` file to be uploaded

## Response `202`

The file was accepted and is being processed.

## Other responses

- `400`: An invalid request was received.
- `401`: Access denied: Missing or invalid credentials
- `409`: A conflicting resource already exists.
- `415`: Media type is not supported.

---

[API](https://skmtc.dev/decodable/apis/decodable-control-plane.md) - [All operations](https://skmtc.dev/decodable/apis/decodable-control-plane/llms.txt) - [OpenAPI document](https://skmtc.dev/decodable/apis/decodable-control-plane/revisions/9718a3019da8?raw)
