This API is used to delete custom attributes associated with the specified event and registration request type according. To call this API, the user has to pass a query param with API URLs like eventurl, recurringEventId, customAttribute, type of registration request, and authentication key to authenticate the user.
Query Parameters recurringEventId: if an event is a recurring event then we pass here recurringEventId but if the event is not a recurring Event then pass 0.
Path Parameters eventUrl- The Event URL is a unique identifier for your event. E.g., https://www.accelevents.com/events/demo. Here, "demo" is the event URL.
Body params Not Required
Response It will return a response like a type and a message.
Authentication required - ✅
Role wise accessibility Super Admin - ✅ Event Admin - ✅ Staff - ❌ Attendee - ❌ Exhibitor - ❌ Speaker - ❌
Modules Display - ❌ Portal - ❌ Host - ✅
It will return a success message if API executes successfully.
Attribute | Description |
---|---|
type | This field returns a type of messages like success or error. |
message | This contains a message for a response that can be displayed to the end user. |
Here are the possible error messages that return if any condition fails or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Successfully deleted attribute |
204 | No Content. |
401 | Unauthorized. |
403 | Not Event Host. |
404 | No Event was found. |