Create Org Settings
POST/api/v1/org/:org_id/settings/add
Create a setting for an organization.
Args: org_id (str): the id of the organization settings_data (OrgSettings): the settings to be created. The name must be unique within an oganization. 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
OrgSettings: The settings that was just created
Observations: Only ADMIN and SUPERADMIN users can create any setting If the user is not ADMIN or SUPERADMIN, he can only create their own settings
Request
Responses
- 201
- 422
Successful Response
Validation Error