NOTE: User must be logged in as admin to access this API

URL : api/source/update/{source}
Method : PATCH
Query Parameters :
 

Parameter Type Possible Values Required/Optional Description
name String Required Source Name
display_as String Required Source Display as
icon String fas fa-adjust Required Source Icon
description Text Optional Source Description

Response:

{
    "success": true,
    "message": "Source updated successfully"
}
Tagged: