Skip to main content

Get Org Logo Upload Url

GET 

/api/v1/org/:org_id/logo_url

Get a pre-signed upload url to change the organization logo.

Args: org_id (str): the id of the organization content_type (str): Content type of the file to be uploaded. Can be any valid "image/*" type. expires_in (int): The number of seconds until the upload URL expires. db (AsyncSession): The data base to use in the repository org_member (OrgMember): The member to verify if the user is authorized to create a credential

Returns

str: The pre-signed upload url.

Observations: Only SUPERADMIN users update the organization logo

Request

Responses

Successful Response