You are here

public function ClientGrants::delete in Auth0 Single Sign On 8.2

Delete a Client Grant by ID. Required scope: "delete:client_grants"

@link https://auth0.com/docs/api/management/v2#!/Client_Grants/delete_client_g...

Parameters

string $id Client Grant ID to delete.:

Return value

mixed

Throws

\Exception Thrown by the HTTP client when there is a problem with the API call.

File

vendor/auth0/auth0-php/src/API/Management/ClientGrants.php, line 144

Class

ClientGrants
Class ClientGrants. Handles requests to the Client Grants endpoint of the v2 Management API.

Namespace

Auth0\SDK\API\Management

Code

public function delete($id) {
  return $this->apiClient
    ->method('delete')
    ->addPath('client-grants', $id)
    ->call();
}