Hanzo
OpenapiIam

Returns the sign-in methods one application actually has switched on, so a…

Returns the sign-in methods one application actually has switched on, so a login screen can render the right buttons for it without you hard-coding a list…

GET /v1/iam/auth/methods

Addresshttps://api.hanzo.ai/v1/iam/auth/methods
MethodGET
Operationget_iam_auth_methods
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the sign-in methods one application actually has switched on, so a login screen can render the right buttons for it without you hard-coding a list that drifts the moment you add a provider.

Public by design: it is read before anyone has signed in, and it exposes only which methods exist, never their credentials.

Request

1 field.

FieldInTypeRequiredDescription
clientIdquerystringClientId is the application's OAuth client id.

Response

StatusBodyMeaning
200iam.Answerok
400iam.Answerbad request

200 body — 8 fields.

FieldInTypeAlwaysDescription
codebodystring
databodyobject
data2bodyobject
data3bodyobject
msgbodystring
namebodystring
statusbodystring
subbodystring

Failure carries the platform error shape — see Errors.

Examples

hanzo iam auth methods

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page