You are here

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

Delete a Client by ID. Required scope: "delete:clients"

@link https://auth0.com/docs/api/management/v2#!/Clients/delete_clients_by_id

Parameters

string $client_id Client ID to delete.:

Return value

mixed|string

Throws

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

File

vendor/auth0/auth0-php/src/API/Management/Clients.php, line 114

Class

Clients
Class Clients. Handles requests to the Clients endpoint of the v2 Management API.

Namespace

Auth0\SDK\API\Management

Code

public function delete($client_id) {
  return $this->apiClient
    ->method('delete')
    ->addPath('clients', $client_id)
    ->call();
}