Event Types
Updates an event type
This endpoint updates an event type
PUT
/
v1
/
projects
/
{projectID}
/
event-types
/
{eventTypeId}
curl --request PUT \
--url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/event-types/{eventTypeId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"category": "<string>",
"description": "<string>"
}'
{
"message": "<string>",
"status": true,
"data": {
"event_type": {
"category": "<string>",
"deprecated_at": "<string>",
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
}
}
Authorizations
Path Parameters
Project ID
Body
application/json
Event Type Details
The body is of type object
.
Response
201
application/json
Created
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/event-types/{eventTypeId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"category": "<string>",
"description": "<string>"
}'
{
"message": "<string>",
"status": true,
"data": {
"event_type": {
"category": "<string>",
"deprecated_at": "<string>",
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
}
}