---
updatedAt: 2026-08-20T16:48:56.000Z
agentTools:
  projectIndex: https://docs.ciiruspartners.com/llms.txt
---

# Update subaccount

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "security": [
    {
      "basicAuth": []
    }
  ],
  "info": {
    "title": "CiiRUS Partner API",
    "version": "2024.07.31"
  },
  "paths": {
    "/emails/subaccount": {
      "put": {
        "summary": "Update subaccount",
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/update_subaccount_response"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/retrieve_subaccount_response"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        },
        "tags": [
          "Emails"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ciiruspartners.com/v2024.07.31"
    }
  ],
  "components": {
    "responses": {
      "BadRequest": {
        "description": "Bad Request response",
        "content": {
          "*/*": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized response",
        "content": {
          "*/*": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden response",
        "content": {
          "*/*": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found response",
        "content": {
          "*/*": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "supplier_id": {
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "subaccount_response": {
        "required": [
          "id",
          "sending_domain",
          "subaccount_id",
          "dns_value",
          "dns_validation_status",
          "dkim_value",
          "dkim_validation_status",
          "daily_send_limit",
          "approved",
          "reputation",
          "sent_monthly",
          "sent_weekly",
          "sent_total",
          "created_at",
          "first_sent_at"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/supplier_id"
          },
          {
            "$ref": "#/components/schemas/sending_domain"
          },
          {
            "$ref": "#/components/schemas/subaccount_id"
          },
          {
            "$ref": "#/components/schemas/dns_value"
          },
          {
            "$ref": "#/components/schemas/dns_validation_status"
          },
          {
            "$ref": "#/components/schemas/dkim_value"
          },
          {
            "$ref": "#/components/schemas/dkim_validation_status"
          },
          {
            "$ref": "#/components/schemas/daily_send_limit"
          },
          {
            "$ref": "#/components/schemas/approved"
          },
          {
            "$ref": "#/components/schemas/reputation"
          },
          {
            "$ref": "#/components/schemas/sent_monthly"
          },
          {
            "$ref": "#/components/schemas/sent_weekly"
          },
          {
            "$ref": "#/components/schemas/sent_total"
          },
          {
            "$ref": "#/components/schemas/created_at"
          },
          {
            "$ref": "#/components/schemas/first_sent_at"
          }
        ]
      },
      "sending_domain": {
        "properties": {
          "sending_domain": {
            "type": "string"
          }
        }
      },
      "subaccount_id": {
        "properties": {
          "subaccount_id": {
            "type": "string"
          }
        }
      },
      "dns_value": {
        "properties": {
          "dns_value": {
            "type": "string"
          }
        }
      },
      "dns_validation_status": {
        "properties": {
          "dns_validation_status": {
            "type": "boolean"
          }
        }
      },
      "dkim_value": {
        "properties": {
          "dkim_value": {
            "type": "string"
          }
        }
      },
      "dkim_validation_status": {
        "properties": {
          "dkim_validation_status": {
            "type": "boolean"
          }
        }
      },
      "daily_send_limit": {
        "properties": {
          "daily_send_limit": {
            "type": "integer"
          }
        }
      },
      "approved": {
        "properties": {
          "approved": {
            "type": "boolean"
          }
        }
      },
      "reputation": {
        "properties": {
          "reputation": {
            "type": "integer"
          }
        }
      },
      "sent_monthly": {
        "properties": {
          "sent_monthly": {
            "type": "integer"
          }
        }
      },
      "sent_weekly": {
        "properties": {
          "sent_weekly": {
            "type": "integer"
          }
        }
      },
      "sent_total": {
        "properties": {
          "sent_total": {
            "type": "integer"
          }
        }
      },
      "created_at": {
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "first_sent_at": {
        "properties": {
          "first_sent_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "update_subaccount_response": {
        "required": [
          "sending_domain",
          "daily_send_limit",
          "approved"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/sending_domain"
          },
          {
            "$ref": "#/components/schemas/daily_send_limit"
          },
          {
            "$ref": "#/components/schemas/approved"
          }
        ]
      },
      "retrieve_subaccount_response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/subaccount_response"
          },
          {
            "type": "object"
          }
        ]
      }
    }
  }
}
```