Using this API, you can make sessions visible or hidden. If the session is hidden then it won't be listed in (display API)[https://developer.accelevents.com/reference/get-all-sessions] & (portal API)[https://developer.accelevents.com/reference/get-all-sessions-for-display-and-portal-page]
You need to send session-id as id
and isVisible
as path parameters. If you want to hide a particular session then you need to pass isVisible
as true
other wise it will be false
.
This API can be used by authenticated users only, and it will require super admin/event admin/event staff level access.
Here is the description of response attributes, which returns to the form of JSON.
This API Returns a void response with 200 status if API executed successfully.
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |