Create White Label

Create new white label integration.

Args:

db: The database session auth_context: The current user white_label_in: The white label to create

Returns:

white_label (schemas.WhiteLabel): The created white label

Headers

X-API-KeystringOptional
X-Organization-IDstringOptional

Request

This endpoint expects an object.
namestringRequired
source_short_namestringRequired
redirect_urlstringRequired
client_idstringRequired
client_secretstringRequired
allowed_originsstringRequired

Response

Successful Response
namestring
source_short_namestring
redirect_urlstring
client_idstring
client_secretstring
allowed_originsstring
idstringformat: "uuid"
organization_idstringformat: "uuid"
created_atdatetime
modified_atdatetime
created_by_emailstring or nullformat: "email"
modified_by_emailstring or nullformat: "email"

Errors