Delete Registration Custom Attribute

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.

AttributeDescription
typeThis field returns a type of messages like success or error.
messageThis 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 CodeError Description
200Successfully deleted attribute
204No Content.
401Unauthorized.
403Not Event Host.
404No Event was found.
Language
Authorization
Header
Click Try It! to start a request and see the response here!