enableProfile method
Enables temporary credential requests for a profile.
Required permissions: rolesanywhere:EnableProfile.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
Parameter profileId :
The unique identifier of the profile.
Implementation
Future<ProfileDetailResponse> enableProfile({
required String profileId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/profile/${Uri.encodeComponent(profileId)}/enable',
exceptionFnMap: _exceptionFns,
);
return ProfileDetailResponse.fromJson(response);
}