Management API
Go
package example import ( client "github.com/auth0/go-auth0/management/client" option "github.com/auth0/go-auth0/management/option" context "context" ) func do() () { client := client.NewClient( option.WithToken( "<token>", ), ) client.Connections.CheckStatus( context.TODO(), "id", ) }
Retrieves the status of an ad/ldap connection referenced by its ID. 200 OK http status code response is returned when the connection is online, otherwise a 404 status code is returned along with an error message
ID
200 OK
404
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the connection to check
Connection status successfully retrieved.
このページは役に立ちましたか?