This API is used to set access of the BeeFree Template. API is used as host side event admin and super admin can access this API. It will return data like boolean values for access to the BeeFree template.
To call this API, the user has to pass path param with API URL like allowToAccess and authentication key to authenticate user and the name of email type for which allow accessing of befree template.
Here is the description of response attributes, which returns to the form of JSON.
|boolean||This field returns boolean (true or false) value for access of Beefree Template|
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
|Error Code||Error Description|
|200||Returns true if successfully set access of BeeFree template|
|400||The request could not be understood by the server due to malformed syntax.|
|401||You are not authorized to view this resource.|
|403||Accessing the resource you were trying to reach is forbidden.|
|404||The resource you were trying to reach is not found.|
|4040200||Event Not Found|
|4060055||Ticket Not Found|
|4030201||Not Event Host|