PATCH
Update a Venture (admin)

Path Parameters

id
string<uuid>
required

Venture UUID

Body

application/json

Partial update for a venture. Omitted fields are left unchanged.

name
string | null
rotate_api_key
boolean

Rotate the API key. The previous key stops working immediately and the new plaintext key is returned ONCE.

status
null | enum<string>

New status (ACTIVE / DISABLED). Admin-only in practice.

Available options:
ACTIVE,
DISABLED

Response

Updated; rotated API key returned ONCE

Response to a venture update. api_key is present only when rotated (ONCE).

api_key_prefix
string
required
id
string<uuid>
required
name
string
required
status
enum<string>
required

Whether a venture may authenticate and transact.

Available options:
ACTIVE,
DISABLED
updated_at
string<date-time>
required
api_key
string | null