revokeActorTokenWithHttpInfo method
Revoke actor token
Revokes a pending actor token.
Note: This method returns the HTTP Response
.
Parameters:
- String actorTokenId (required): The ID of the actor token to be revoked.
Implementation
Future<http.Response> revokeActorTokenWithHttpInfo(
String actorTokenId,
) async {
// ignore: prefer_const_declarations
final path = r'/actor_tokens/{actor_token_id}/revoke'
.replaceAll('{actor_token_id}', actorTokenId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}