All URIs are relative to https://api.authlete.com
Method | HTTP request | Description |
---|---|---|
AuthRevocationApi | Post /api/auth/revocation | /api/auth/revocation API |
RevocationResponse AuthRevocationApi(ctx).RevocationRequest(revocationRequest).Execute()
/api/auth/revocation API
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
revocationRequest := *openapiclient.NewRevocationRequest("Parameters_example") // RevocationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RevocationEndpointApi.AuthRevocationApi(context.Background()).RevocationRequest(revocationRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RevocationEndpointApi.AuthRevocationApi``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthRevocationApi`: RevocationResponse
fmt.Fprintf(os.Stdout, "Response from `RevocationEndpointApi.AuthRevocationApi`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthRevocationApiRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
revocationRequest | RevocationRequest |
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]