withdrawArtifact method

Future<ApiResponse> withdrawArtifact(
  1. String artifactId,
  2. String idempotencyKey
)

Implementation

Future<ApiResponse> withdrawArtifact(
        String artifactId, String idempotencyKey) =>
    _http.request('POST',
        '/api/v1/artifacts/${apiResourceId(artifactId, 'artifactId')}/withdraw',
        payload: const {'version': 1}, idempotencyKey: idempotencyKey);