v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
custom-enums

Create Custom Enum

Create a new custom enum for the authenticated user.

Args: request: Create payload. auth: Authenticated caller. service: Custom-enum service.

Returns: CustomEnumResponse for the created enum.

Raises: HTTPException: 409 when the name already exists for this user.

post/custom-enums

Request body

namestring required

Name for the enum type

valuesstring[] required

List of allowed enum values

descriptionstring nullable

Optional description of the enum

Response

Successful Response

idstring required
user_idstring required
namestring required
valuesstring[] required
descriptionstring nullable
created_atstring required
updated_atstring required