Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/data/endpoints/managed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ endpoints:
curl -H "Authorization: Bearer $TOKEN" \
https://$api_root/$version/managed/contact/$contact_id
PUT:
response: ManagedContact
description: >
Edits this contact.
examples:
Expand All @@ -79,7 +80,16 @@ endpoints:
"secondary": "215-555-4001",
"group": "Developers"
}' \
https://$api_root/$version/account/oauth-clients/$client_id
https://$api_root/$version/managed/contact/$contact_id
DELETE:
description: >
Deletes this contact. This action cannot be undone.
examples:
curl: |
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE \
https://$api_root/$version/managed/contact/$contact_id

#/managed/history:
# group: History
# type: resource
Expand Down