Skip to main content

Update Credentials

PUT 

/api/v1/org/update/creds

Updates a certain credential. It can update the name, description, additional_info and the credential itself

Args:

org_id (str): the id of the organization creds_name (str): optional, the name of the credentials. creds_id (str): optional, the id of the credential. db (AsyncSession): The data base to use in the repository org_member (OrgMember): The member to verify if the user is authorized to delete a credential

Returns:

None

Observations:

Only ADMIN and SUPERADMIN users can update any credential If the user is not ADMIN or SUPERADMIN, he can only update their own credentials

Request

Responses

Successful Response