deleteProjectProfile method

Future<void> deleteProjectProfile({
  1. required String domainIdentifier,
  2. required String identifier,
})

Deletes a project profile.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter domainIdentifier : The ID of the domain where a project profile is deleted.

Parameter identifier : The ID of the project profile that is deleted.

Implementation

Future<void> deleteProjectProfile({
  required String domainIdentifier,
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/project-profiles/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
}