Skip to content

Commit d1493c7

Browse files
authored
Merge pull request #9 from SzySteve/docs/delete_contact
new: add docs for deleting managed contacts
2 parents 2eea9a9 + adcd39c commit d1493c7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/data/endpoints/managed.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ endpoints:
6565
curl -H "Authorization: Bearer $TOKEN" \
6666
https://$api_root/$version/managed/contact/$contact_id
6767
PUT:
68+
response: ManagedContact
6869
description: >
6970
Edits this contact.
7071
examples:
@@ -79,7 +80,16 @@ endpoints:
7980
"secondary": "215-555-4001",
8081
"group": "Developers"
8182
}' \
82-
https://$api_root/$version/account/oauth-clients/$client_id
83+
https://$api_root/$version/managed/contact/$contact_id
84+
DELETE:
85+
description: >
86+
Deletes this contact. This action cannot be undone.
87+
examples:
88+
curl: |
89+
curl -H "Authorization: Bearer $TOKEN" \
90+
-X DELETE \
91+
https://$api_root/$version/managed/contact/$contact_id
92+
8393
#/managed/history:
8494
# group: History
8595
# type: resource

0 commit comments

Comments
 (0)