Update an Existing Custom Activity Type¶
PUT https://api.copper.com/developer_api/v1/custom_activity_types/{{custom_activity_type_id}}
Field | Type | Details | Default |
---|---|---|---|
name | string | Name of the custom activity type. | |
icon_type | string | Icon Type. Must be one of: "Message", "Phone", "Event", "Assignment", "Assessment", "Group", "Description", "Speaker Notes", "Forum", "Web", "Loyalty", "Content Paste", "Headset", "Share", "Navigation", "Notification", "Voicemail", "Room", "Edit", "Send", "Videocam", "Play Arrow", "Grocery Store", "Mic", "Camera Mic", "Todo" | |
is_disabled | boolean | Whether or not disabled. |
Request Body¶
{
"icon_type": "Todo"
}
Example Requests¶
Update an Existing Custom Activity Type¶
curl --location --request PUT "https://api.copper.com/developer_api/v1/custom_activity_types/5" \
--header "X-PW-AccessToken: YOUR_TOKEN_HERE" \
--header "X-PW-Application: developer_api" \
--header "X-PW-UserEmail: YOUR_EMAIL_HERE" \
--header "Content-Type: application/json" \
--data "{
\"icon_type\": \"Todo\"
}
"
{
"id": 5,
"company_id": 1,
"icon_type": "Todo",
"is_disabled": false,
"is_interaction": false,
"name": "New Activity",
"is_default_task_type": null
}