Hanzo
OpenapiCaptable

Amend a share class

Rewrites one share class — the amendment path for a class whose authorized count, price, seniority or preference terms have changed.

PATCH /v1/captable/classes/{id}

Addresshttps://api.hanzo.ai/v1/captable/classes/{id}
MethodPATCH
Operationpatch_captable_classes_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Rewrites one share class — the amendment path for a class whose authorized count, price, seniority or preference terms have changed.

It REPLACES the class rather than merging into it: every field is taken from this body, so an omitted field resets to the create-time default instead of keeping its current value. Send the full class. The index and the derived prefix are unchanged by an amendment. An id that is not this company's is not found.

Writes the caller's OWN cap table: the org resolved from the validated principal selects the tenant's store and scopes every row, so there is no field by which a caller can write into another company's table; a request with no validated org is refused. The whole write runs in one transaction, so a refusal leaves nothing behind. Validation is the cap-table bundle's and so is its refusal: a bad body comes back as {success:false, message, errors:[…]} with the failing fields listed, and numeric fields accept a number OR a numeric string. Bodies are capped at 1 MiB.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo captable classes update <id>

Captable API · All Hanzo APIs · Interactive reference

How is this guide?

On this page