Skip to content

Commit

Permalink
Merge pull request #129 from fgibaux/remove-deleted-endpoints
Browse files Browse the repository at this point in the history
remove deleted enpoints from users resource
  • Loading branch information
IsraelOrtuno authored Jun 12, 2023
2 parents 79a067a + 2966870 commit 8eb3130
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions src/Resources/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,39 +35,4 @@ public function permissions($id)
{
return $this->request->get(':id/permissions', compact('id'));
}

/**
* Get the user permitted items.
*
* @param $id
* @param null $access_level
* @return Response
*/
public function permittedItems($id, $access_level = null)
{
return $this->request->get(':id/permittedItems', compact('id', 'access_level'));
}

/**
* Get the user blacklisted emails.
*
* @param $id
* @return Response
*/
public function blacklistedEmails($id)
{
return $this->request->get(':id/blacklistedEmails', compact('id'));
}

/**
* Add a new blacklisted email to the user.
*
* @param $id
* @param $address
* @return Response
*/
public function addBlacklistedEmail($id, $address)
{
return $this->request->post(':id/blacklistedEmails', compact('id', 'address'));
}
}

0 comments on commit 8eb3130

Please sign in to comment.