PHP Client for Cloudflare API
Iam

Sso

Sso endpoint reference.

List

Lists all SSO connectors configured for the account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
php
$response = $client->iam()->sso()->list('ACCOUNT_ID');
View this operation on the Cloudflare API Reference

Create

Creates a new SSO connector for logging into Cloudflare through an identity provider.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
valuesarrayYesSSO Connector values, requires email_domain.
php
$response = $client->iam()->sso()->create('ACCOUNT_ID', []);
View this operation on the Cloudflare API Reference

Get

Get information about a specific SSO connector.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
ssoConnectorIdstringYesSSO Connector identifier.
php
$response = $client->iam()->sso()->get('ACCOUNT_ID', 'SSO_CONNECTOR_ID');
View this operation on the Cloudflare API Reference

Update

Updates the state or configuration of an SSO connector.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
ssoConnectorIdstringYesSSO Connector identifier.
valuesarrayNo[]SSO Connector values, e.g. enabled, use_fedramp_language.
php
$response = $client->iam()->sso()->update('ACCOUNT_ID', 'SSO_CONNECTOR_ID', []);
View this operation on the Cloudflare API Reference

Delete

Deletes an SSO connector.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
ssoConnectorIdstringYesSSO Connector identifier.
php
$response = $client->iam()->sso()->delete('ACCOUNT_ID', 'SSO_CONNECTOR_ID');
View this operation on the Cloudflare API Reference

Begin Verification

Begin the verification process for an SSO connector.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
ssoConnectorIdstringYesSSO Connector identifier.
php
$response = $client->iam()->sso()->beginVerification('ACCOUNT_ID', 'SSO_CONNECTOR_ID');
View this operation on the Cloudflare API Reference
Copyright © 2026