Skip to content

Commit 84e936f

Browse files
choranGabrielAnca
authored andcommitted
Adding info on delete and archive updates in README (#253)
* Adding info on delete and archive updates in README * Fix comment block
1 parent 708e514 commit 84e936f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,13 @@ $client->users->update([
6161
"custom_attributes" => ['foo' => 'bar']
6262
]);
6363

64-
/** Delete a user by ID */
65-
$client->users->deleteUser("570680a8a1bcbca8a90001b9");
64+
/** Archive a user by ID (i.e. soft delete) */
65+
$client->users->archiveUser("570680a8a1bcbca8a90001b9");
66+
67+
/** Permanently delete a user */
68+
$client->users->permanentlyDeleteUser("570680a8a1bcbca8a90001b9");
69+
70+
/** For more on the difference between archive and permanently deleting a user please see https://developers.intercom.com/reference#archive-a-user. */
6671

6772
/** Get a user by ID */
6873
$client->users->getUser("570680a8a1bcbca8a90001b9");

0 commit comments

Comments
 (0)