Tracking

Rename a conversion event

Changes a conversion event's display name or the event name the SDK sends. The new name replaces the old one, which is not kept.

patch/event-definitions/{event_definition_id}

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/event-definitions/{event_definition_id}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: tracking:write)
    • HTTP bearer

Path parameters

event_definition_idstring uuid required

id from the event definitions list.

Query parameters

dry_runboolean

true returns a preview of the change and applies nothing.

Headers

Idempotency-Keystring

8 to 200 visible ASCII characters. Retries with the same key and request return the stored response for 24 hours.

Request body

namestring
event_namestring

Response

Success.

object'event_definition' required
idstring required
namestring required
event_namestring required
kindstring nullable required
created_atstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.