Create White Label

Create new white label integration.

Args:

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

Returns:

white_label (schemas.WhiteLabel): The created white label

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
namestringRequired
source_short_namestringRequired
redirect_urlstringRequired
client_idstringRequired
client_secretstringRequired

Response

Successful Response

namestring
source_short_namestring
redirect_urlstring
client_idstring
client_secretstring
idstringformat: "uuid"
organization_idstringformat: "uuid"
created_atdatetime
modified_atdatetime
created_by_emailstringformat: "email"
modified_by_emailstringformat: "email"

Errors