You are here

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

Delete a Connection by ID. Required scope: "delete:connections"

@link https://auth0.com/docs/api/management/v2#!/Connections/delete_connection...

Parameters

string $id Connection 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/Connections.php, line 117

Class

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

Namespace

Auth0\SDK\API\Management

Code

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